net.wotonomy.web
Class WORepetition

java.lang.Object
  extended by net.wotonomy.web.WOElement
      extended by net.wotonomy.web.WODynamicElement
          extended by net.wotonomy.web.WORepetition
All Implemented Interfaces:
java.io.Serializable, WOActionResults

public class WORepetition
extends WODynamicElement

See Also:
Serialized Form

Field Summary
protected  int count
           
protected  int index
           
protected  java.lang.Object item
           
protected  java.util.Iterator iterator
           
protected  java.util.Collection list
           
 
Fields inherited from class net.wotonomy.web.WODynamicElement
associations, name, rootElement
 
Constructor Summary
protected WORepetition()
           
  WORepetition(java.lang.String aName, net.wotonomy.foundation.NSDictionary aMap, WOElement template)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
          This method is called on all elements of the content tree to build a response to a user request.
 int count()
           
protected  java.lang.Object getNextItem()
           
 int index()
           
 WOActionResults invokeAction(WORequest r, WOContext c)
          This method is called on all objects and elements of the application until a non-null value is returned.
 java.lang.Object item()
           
 java.util.Collection list()
           
protected  void pullValuesFromParent(WOComponent c)
           
protected  void pushValuesToParent(WOComponent c)
           
 void setCount(int value)
           
 void setIndex(int value)
           
 void setItem(java.lang.Object value)
           
 void setList(java.util.Collection value)
           
 void takeValuesFromRequest(WORequest r, WOContext c)
          This method is called to retrieve user-entered data from the request.
 
Methods inherited from class net.wotonomy.web.WODynamicElement
generateResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

protected int count

index

protected int index

item

protected java.lang.Object item

list

protected java.util.Collection list

iterator

protected java.util.Iterator iterator
Constructor Detail

WORepetition

protected WORepetition()

WORepetition

public WORepetition(java.lang.String aName,
                    net.wotonomy.foundation.NSDictionary aMap,
                    WOElement template)
Method Detail

setCount

public void setCount(int value)

count

public int count()

setIndex

public void setIndex(int value)

index

public int index()

setItem

public void setItem(java.lang.Object value)

item

public java.lang.Object item()

setList

public void setList(java.util.Collection value)

list

public java.util.Collection list()

takeValuesFromRequest

public void takeValuesFromRequest(WORequest r,
                                  WOContext c)
Description copied from class: WODynamicElement
This method is called to retrieve user-entered data from the request. WOElements should retrieve data from the request based on their elementID and set values in the context's current WOComponent, typically those values that are associated with the element in the binding. This implementation does nothing.

Overrides:
takeValuesFromRequest in class WODynamicElement

invokeAction

public WOActionResults invokeAction(WORequest r,
                                    WOContext c)
Description copied from class: WODynamicElement
This method is called on all objects and elements of the application until a non-null value is returned. WOElements should first check to see if they are the target of an action by checking the WOContext's senderID to see if it matches this element's elementID. If this element is the target, it should perform an appropriate action on the context's current WOComponent, usually the action specified in the binding, and return the result of that action. This implementation returns null.

Overrides:
invokeAction in class WODynamicElement

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)
Description copied from class: WODynamicElement
This method is called on all elements of the content tree to build a response to a user request. The message should be forwarded to any child elements so that the entire tree is traversed. This implementation does nothing.

Overrides:
appendToResponse in class WODynamicElement

getNextItem

protected java.lang.Object getNextItem()

pullValuesFromParent

protected void pullValuesFromParent(WOComponent c)

pushValuesToParent

protected void pushValuesToParent(WOComponent c)


Copyright © 2006 null. All Rights Reserved.