public class XPathInfo
extends java.lang.Object
| Constructor and Description |
|---|
XPathInfo(java.lang.String expression,
XPathNamespaceContext context) |
| Modifier and Type | Method and Description |
|---|---|
static XPathNamespaceContext |
createXPathSpaceContext(org.ws4d.java.structures.HashMap declaredNameSpaces) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
evaluate(org.w3c.dom.Document xmlDocument) |
java.lang.Object |
evaluate(org.w3c.dom.Document xmlDocument,
javax.xml.namespace.QName returnType) |
java.lang.Object |
evaluate(org.w3c.dom.Node node,
javax.xml.namespace.QName returnType) |
XPathNamespaceContext |
getContext() |
static org.ws4d.java.structures.HashMap |
getDeclaredNamesSpaces(org.w3c.dom.Document xmlDocument) |
java.lang.String |
getExpression() |
javax.xml.namespace.QName |
getReturnType() |
javax.xml.xpath.XPath |
getXPath() |
int |
hashCode() |
void |
setReturnType(javax.xml.namespace.QName returnType) |
java.lang.String |
toString() |
public XPathInfo(java.lang.String expression,
XPathNamespaceContext context)
public static org.ws4d.java.structures.HashMap getDeclaredNamesSpaces(org.w3c.dom.Document xmlDocument)
throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionExceptionpublic static XPathNamespaceContext createXPathSpaceContext(org.ws4d.java.structures.HashMap declaredNameSpaces)
public java.lang.String getExpression()
public XPathNamespaceContext getContext()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object evaluate(org.w3c.dom.Document xmlDocument)
throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionExceptionpublic javax.xml.namespace.QName getReturnType()
public void setReturnType(javax.xml.namespace.QName returnType)
public java.lang.Object evaluate(org.w3c.dom.Document xmlDocument,
javax.xml.namespace.QName returnType)
throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionExceptionpublic java.lang.Object evaluate(org.w3c.dom.Node node,
javax.xml.namespace.QName returnType)
throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionExceptionpublic javax.xml.xpath.XPath getXPath()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object