Class FilteredFunctionContext

  • All Implemented Interfaces:
    org.jaxen.FunctionContext

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class FilteredFunctionContext
    extends Object
    implements org.jaxen.FunctionContext
    FunctionContext that removes some XPath function names that are deemed bad as user input.
    Author:
    Robert Sandell <rsandell@cloudbees.com>.
    See Also:
    FunctionContext, XPath, Api
    • Constructor Detail

      • FilteredFunctionContext

        public FilteredFunctionContext​(Set<String> illegalFunctions)
      • FilteredFunctionContext

        public FilteredFunctionContext()
    • Method Detail

      • getFunction

        public org.jaxen.Function getFunction​(String namespaceURI,
                                              String prefix,
                                              String localName)
                                       throws org.jaxen.UnresolvableException
        Specified by:
        getFunction in interface org.jaxen.FunctionContext
        Throws:
        org.jaxen.UnresolvableException