public class XPathEvaluator
extends java.lang.Object
| Type | Property and Description |
|---|---|
javafx.beans.property.StringProperty |
xpathVersion |
| Constructor and Description |
|---|
XPathEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Node> |
evaluateQuery(Node compilationUnit,
LanguageVersion languageVersion,
java.lang.String xpathQuery)
Evaluates an XPath query on the compilation unit.
|
java.lang.String |
getXpathVersion()
Gets the value of the property xpathVersion.
|
javafx.beans.property.StringProperty |
xpathVersionProperty() |
public javafx.beans.property.StringProperty xpathVersionProperty
getXpathVersion()public java.lang.String getXpathVersion()
public javafx.beans.property.StringProperty xpathVersionProperty()
getXpathVersion()public java.util.List<Node> evaluateQuery(Node compilationUnit, LanguageVersion languageVersion, java.lang.String xpathQuery) throws XPathEvaluationException
compilationUnit - AST rootlanguageVersion - language versionxpathQuery - queryXPathEvaluationException - if there was an error during the evaluation. The cause is preservedCopyright © 2002–2017 PMD. All rights reserved.