|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.taglibs.standard.tag.common.xml.XPathUtil
public class XPathUtil
Support for tag handlers that evaluate XPath expressions.
Constructor Summary | |
---|---|
XPathUtil(javax.servlet.jsp.PageContext pc)
Constructs a new XPathUtil object associated with the given PageContext. |
Method Summary | |
---|---|
protected Node |
adaptParamsForXalan(Node n,
String xpath,
XPathVariableResolver jxvr)
To evaluate an XPath expression using Xalan, we need to create an XPath object, which wraps an expression object and provides general services for execution of that expression. |
boolean |
booleanValueOf(Node n,
String xpathString)
Evaluate an XPath expression to a boolean value. |
static Node |
getContext(javax.servlet.jsp.tagext.Tag t)
|
static void |
printDetails(Node n)
|
List |
selectNodes(Node n,
String xpathString)
Evaluate an XPath expression to a List of nodes. |
Node |
selectSingleNode(Node n,
String xpathString)
Evaluate an XPath expression to a single node. |
String |
valueOf(Node n,
String xpathString)
Evaluate an XPath expression to a String value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathUtil(javax.servlet.jsp.PageContext pc)
Method Detail |
---|
public String valueOf(Node n, String xpathString) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public boolean booleanValueOf(Node n, String xpathString) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public List selectNodes(Node n, String xpathString) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public Node selectSingleNode(Node n, String xpathString) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
protected Node adaptParamsForXalan(Node n, String xpath, XPathVariableResolver jxvr)
public static Node getContext(javax.servlet.jsp.tagext.Tag t) throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public static void printDetails(Node n)
|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |