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
,
AppendIteratorTag
var
actionMapper, 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, putInContext
addAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, escapeHtmlBody, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, getStandardAttributes, isValidTagAttribute, popComponentStack, setActionMapper, setDevMode, setThrowExceptionsOnELFailure, setUrlHelper, stripExpressionIfAltSyntax, toString, usesBody
public AppendIterator(ValueStack stack)
public boolean start(Writer writer)
Component
public boolean end(Writer writer, String body)
Component
public void addParameter(Object value)
Param.UnnamedParametric
addParameter
in interface Param.UnnamedParametric
value
- the valuepublic void setVar(String var)
setVar
in class ContextBean
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.