public class AppendIterator extends ContextBean implements Param.UnnamedParametric
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,
AppendIteratorTagvaractionMapper, COMPONENT_STACK, devMode, parameters, stack, standardAttributesMap, throwExceptionOnELFailure| Constructor and Description |
|---|
AppendIterator(ValueStack stack) |
| Modifier and Type | Method and Description |
|---|---|
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 |
setVar(String var) |
boolean |
start(Writer writer)
Callback for the start tag of this component.
|
getVar, putInContextaddAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, getStandardAttributes, isAcceptableExpression, isValidTagAttribute, popComponentStack, setActionMapper, setDevMode, setNotExcludedAcceptedPatterns, setThrowExceptionsOnELFailure, setUrlHelper, stripExpressionIfAltSyntax, toString, usesBodypublic AppendIterator(ValueStack stack)
public boolean start(Writer writer)
Componentpublic boolean end(Writer writer, String body)
Componentpublic void addParameter(Object value)
Param.UnnamedParametricaddParameter in interface Param.UnnamedParametricvalue - the valuepublic void setVar(String var)
setVar in class ContextBeanCopyright © 2000–2023 Apache Software Foundation. All rights reserved.