public class XPathParser
extends java.lang.Object
.../node().../text().../@*.../@name.../*....../name......//*......//name...
In addition the non-abbreviated .../descendant::node()
construct can be used for cases where the descendant-or-self axis
used by the ...//node() construct is not appropriate.
| Constructor and Description |
|---|
XPathParser() |
XPathParser(java.lang.String prefix,
java.lang.String namespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPrefix(java.lang.String prefix,
java.lang.String namespace) |
Matcher |
parse(java.lang.String xpath)
Parses the given simple XPath expression to an evaluation state
initialized at the document node.
|
public XPathParser()
public XPathParser(java.lang.String prefix,
java.lang.String namespace)
public void addPrefix(java.lang.String prefix,
java.lang.String namespace)
public Matcher parse(java.lang.String xpath)
xpath - simple XPath expressionCopyright © 2010 - 2023 Adobe. All Rights Reserved