public class SetTag extends XPathTagSupport
List or Node
(for example Element or Attribute).
Thus, the variable created from xml:set can be
used from the other xml library functions.body, context, parent| Constructor and Description |
|---|
SetTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
setAsString(boolean asString)
If set to true, will ensure that the (XPath) text-value
of the selected node is taken instead of the node
itself.
|
void |
setDelim(java.lang.String delim)
If set, returns a string delimited by this delimiter.
|
void |
setDescending(boolean descending)
Set whether to sort ascending or descending.
|
void |
setSelect(org.jaxen.XPath select)
Sets the XPath expression to evaluate.
|
void |
setSingle(boolean single)
If set to true will only take the first element matching.
|
void |
setSort(org.jaxen.XPath sortXPath)
Sets the xpath expression to use to sort selected nodes.
|
void |
setVar(java.lang.String var)
Sets the variable name to define for this expression
|
getXPathContextfindAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tagpublic void setVar(java.lang.String var)
public void setSelect(org.jaxen.XPath select)
public void setSingle(boolean single)
Node thereby making sure that, for example,
when an element is selected, one can directly call such methods
as setAttribute.public void setAsString(boolean asString)
public void setDelim(java.lang.String delim)
asString to be true.public void setSort(org.jaxen.XPath sortXPath)
throws org.jaxen.JaxenException
org.jaxen.JaxenExceptionpublic void setDescending(boolean descending)
Copyright © 2012. All Rights Reserved.