|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.apache.commons.jelly.tags.xml.XPathTagSupport | +--org.apache.commons.jelly.tags.xml.IfTag
Evaluates the XPath expression to be a boolean and only evaluates the body if the expression is true.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
IfTag()
|
Method Summary | |
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
protected java.lang.Object |
getXPathContext()
|
void |
setSelect(org.jaxen.XPath select)
Sets the XPath expression to evaluate. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IfTag()
Method Detail |
public void doTag(XMLOutput output) throws java.lang.Exception
Tag
public void setSelect(org.jaxen.XPath select)
protected java.lang.Object getXPathContext()
getXPathContext
in class XPathTagSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |