Interface XPathHandler


public interface XPathHandler
Interface for performing Language specific XPath handling, such as initialization and navigation.
  • Method Details

    • getRegisteredExtensionFunctions

      Set<XPathFunctionDefinition> getRegisteredExtensionFunctions()
      Returns the set of extension functions for this language module. These are the additional functions available in XPath queries.
    • noFunctionDefinitions

      static XPathHandler noFunctionDefinitions()
    • getHandlerForFunctionDefs

      static XPathHandler getHandlerForFunctionDefs(XPathFunctionDefinition first, XPathFunctionDefinition... defs)
      Returns a default XPath handler.
    • combine

      default XPathHandler combine(XPathHandler other)
      Return a new XPath handler combining all available functions from this and another handler.
      Parameters:
      other - The handler whose functions to merge with this one.
      Returns:
      A new handler exposing all functions from both XPath handlers.
      Since:
      7.13.0