|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.webwork.components.Component
com.opensymphony.webwork.components.AppendIterator
public class AppendIterator
Component for AppendIteratorTag, which jobs is to append iterators to form an appended iterator whereby entries goes from one iterator to another after each respective iterator is exhausted of entries.
For example, if there are 3 iterator appended (each iterator has 3 entries), the following will be how the appended iterator entries will be arranged:
AppendIteratorFilter
,
AppendIteratorTag
Field Summary |
---|
Fields inherited from class com.opensymphony.webwork.components.Component |
---|
COMPONENT_STACK, id, parameters, stack |
Constructor Summary | |
---|---|
AppendIterator(OgnlValueStack stack)
|
Method Summary | |
---|---|
void |
addParameter(Object value)
Adds the given value as a parameter to the outer tag. |
boolean |
end(Writer writer,
String body)
Callback for the end tag of this component. |
void |
setId(String id)
the id of which if supplied will have the resultant appended iterator stored under in the stack's context |
boolean |
start(Writer writer)
Callback for the start tag of this component. |
Methods inherited from class com.opensymphony.webwork.components.Component |
---|
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, toString, usesBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppendIterator(OgnlValueStack stack)
Method Detail |
---|
public boolean start(Writer writer)
Component
start
in class Component
writer
- the output writer.
public boolean end(Writer writer, String body)
Component
end
in class Component
writer
- the output writer.body
- the rendered body.
public void addParameter(Object value)
Param.UnnamedParametric
addParameter
in interface Param.UnnamedParametric
value
- the valuepublic void setId(String id)
setId
in class Component
|
WebWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |