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, trimBody
public void doTag(XMLOutput output) throws JellyTagException
Tag
doTag
in interface Tag
JellyTagException
public Object getXPathSource()
getXPathSource
in interface XPathSource
public void setSelect(org.jaxen.XPath select)
public void setVar(String var)
public void setSort(org.jaxen.XPath sortXPath) throws org.jaxen.JaxenException
org.jaxen.JaxenException
public void setDescending(boolean descending)
protected Object getXPathContext()
getXPathContext
in class XPathTagSupport
Copyright © 2014. All rights reserved.