public class XPath20
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
fExpression |
protected NamespaceContext |
fNsContext |
| Constructor and Description |
|---|
XPath20(java.lang.String xpath,
SymbolTable symbolTable,
NamespaceContext nsContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateTest(QName element,
XMLAttributes attributes)
Evaluate the test XPath expression using the attribute information and element information.
|
java.lang.String |
getXPathStrValue() |
protected final java.lang.String fExpression
protected final NamespaceContext fNsContext
public XPath20(java.lang.String xpath,
SymbolTable symbolTable,
NamespaceContext nsContext)
throws XPathException
XPathExceptionpublic boolean evaluateTest(QName element, XMLAttributes attributes)
element - QName of the current elementattributes - attributes collection of the current elementpublic java.lang.String getXPathStrValue()