Interface XPathCompilerProxy
-
- All Known Implementing Classes:
BaseXPathCompilerProxy
,BasicImmutableXPathCompilerProxy
public interface XPathCompilerProxy
Read-only view ofXPathCompiler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description net.sf.saxon.s9api.XPathExecutable
compile(String source)
net.sf.saxon.s9api.XPathExecutable
compilePattern(String source)
net.sf.saxon.s9api.XdmValue
evaluate(String expression, net.sf.saxon.s9api.XdmItem contextItem)
net.sf.saxon.s9api.XdmItem
evaluateSingle(String expression, net.sf.saxon.s9api.XdmItem contextItem)
List<VariableReference<?>>
getAllowedVariables()
Get the list of XACML Policy Variables allowed as XPath variables in compiled XPath expressionsMap<String,String>
getDeclaredNamespacePrefixToUriMap()
Get namespace prefix-URI mappings to be part of the static context for XPath expressions compiled with this XPath compiler, i.e.org.ow2.authzforce.xacml.identifiers.XPathVersion
getXPathVersion()
-
-
-
Method Detail
-
getXPathVersion
org.ow2.authzforce.xacml.identifiers.XPathVersion getXPathVersion()
- See Also:
XPathCompiler.getLanguageVersion()
-
getDeclaredNamespacePrefixToUriMap
Map<String,String> getDeclaredNamespacePrefixToUriMap()
Get namespace prefix-URI mappings to be part of the static context for XPath expressions compiled with this XPath compiler, i.e. declared withXPathCompiler.declareNamespace(String, String)
.- Returns:
- namespace prefix-URI bindings declared for this XPathCompiler
-
getAllowedVariables
List<VariableReference<?>> getAllowedVariables()
Get the list of XACML Policy Variables allowed as XPath variables in compiled XPath expressions
-
compile
net.sf.saxon.s9api.XPathExecutable compile(String source) throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException
- See Also:
XPathCompiler.compile(String)
-
evaluate
net.sf.saxon.s9api.XdmValue evaluate(String expression, net.sf.saxon.s9api.XdmItem contextItem) throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException
- See Also:
XPathCompiler.evaluate(String, XdmItem)
-
evaluateSingle
net.sf.saxon.s9api.XdmItem evaluateSingle(String expression, net.sf.saxon.s9api.XdmItem contextItem) throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException
- See Also:
XPathCompiler.evaluateSingle(String, XdmItem)
-
compilePattern
net.sf.saxon.s9api.XPathExecutable compilePattern(String source) throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException
- See Also:
XPathCompiler.compilePattern(String)
-
-