public class ForEachTag extends XPathTagSupport implements XPathSource
body, context, parent| Constructor and Description |
|---|
ForEachTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
protected Object |
getXPathContext() |
Object |
getXPathSource() |
void |
setDescending(boolean descending)
Set whether to sort ascending or descending.
|
void |
setSelect(org.jaxen.XPath select)
Sets the XPath selection expression
|
void |
setSort(org.jaxen.XPath sortXPath)
Sets the xpath expression to use to sort selected nodes.
|
void |
setVar(String var)
Sets the variable name to export for the item being iterated over
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void doTag(XMLOutput output) throws JellyTagException
TagdoTag in interface TagJellyTagExceptionpublic Object getXPathSource()
getXPathSource in interface XPathSourcepublic void setSelect(org.jaxen.XPath select)
public void setVar(String var)
public void setSort(org.jaxen.XPath sortXPath)
throws org.jaxen.JaxenException
org.jaxen.JaxenExceptionpublic void setDescending(boolean descending)
protected Object getXPathContext()
getXPathContext in class XPathTagSupportCopyright © 2014. All rights reserved.