Package org.ow2.authzforce.core.pdp.api
Class XmlUtils.XPathEvaluator
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.XmlUtils.XPathEvaluator
-
- Enclosing class:
- XmlUtils
public static final class XmlUtils.XPathEvaluator extends Object
Wrapper around XPathExecutable that provides the original XPath expression from which the XPathExecutable was compiled, via toString() method. To be used for XPath-based Expression evaluations, e.g. AttributeSelector, xpathExpression, etc.
-
-
Constructor Summary
Constructors Constructor Description XPathEvaluator(String path, net.sf.saxon.s9api.XPathCompiler xPathCompiler)
Creates instance
-
-
-
Constructor Detail
-
XPathEvaluator
public XPathEvaluator(String path, net.sf.saxon.s9api.XPathCompiler xPathCompiler) throws IllegalArgumentException
Creates instance- Parameters:
path
- XPath executablexPathCompiler
- XPath compiler- Throws:
IllegalArgumentException
- in case of invalid XPath
-
-