Interface XPathCompilerProxy

  • All Known Implementing Classes:
    BaseXPathCompilerProxy

    public interface XPathCompilerProxy
    Read-only view of XPathCompiler
    • 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 with XPathCompiler.declareNamespace(String, String).
        Returns:
        namespace prefix-URI bindings declared for this XPathCompiler
      • 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)