@DoNotObfuscate
public class XPathExpression
extends java.lang.Object
| Constructor and Description | 
|---|
XPathExpression(java.lang.String xpath)
Create an instance of an XPath expression. 
 | 
XPathExpression(java.lang.String xpath,
               DefaultNamespace defaultNS)
Create an instance of an XPath expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addNamespaces(java.util.Hashtable<java.lang.String,java.lang.String> newNamespaces)  | 
java.lang.Object | 
evaluate(org.w3c.dom.Document dom,
        javax.xml.namespace.QName qName)
Evaluate the current XPath expression against the DOM, given 
 by the first parameter. 
 | 
java.lang.String | 
getExpression()
This method does what the name suggests. 
 | 
@Guarded public XPathExpression(java.lang.String xpath)
@Guarded
public XPathExpression(java.lang.String xpath,
                       DefaultNamespace defaultNS)
The constructor is synchronized because it's not clear, whether the used XPath processors is thread-safe.
public java.lang.String getExpression()
public java.lang.Object evaluate(org.w3c.dom.Document dom,
                        javax.xml.namespace.QName qName)
public void addNamespaces(java.util.Hashtable<java.lang.String,java.lang.String> newNamespaces)
Copyright (C) PDFUnit.com. See here for license.