|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xml.security.utils.JDKXPathAPI
public class JDKXPathAPI
An implementation for XPath evaluation that uses the JDK API.
| Constructor Summary | |
|---|---|
JDKXPathAPI()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear any context information from this object |
boolean |
evaluate(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
Evaluate an XPath string and return true if the output is to be included or not. |
org.w3c.dom.NodeList |
selectNodeList(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
Use an XPath string to select a nodelist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDKXPathAPI()
| Method Detail |
|---|
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
throws javax.xml.transform.TransformerException
selectNodeList in interface XPathAPIcontextNode - The node to start searching from.xpathnode - str - namespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public boolean evaluate(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
throws javax.xml.transform.TransformerException
evaluate in interface XPathAPIcontextNode - The node to start searching from.xpathnode - The XPath nodestr - The XPath expressionnamespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerExceptionpublic void clear()
clear in interface XPathAPI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||