Interface XPathHandler
public interface XPathHandler
Interface for performing Language specific XPath handling, such as
initialization and navigation.
-
Method Summary
Modifier and TypeMethodDescriptiondefault XPathHandler
combine
(XPathHandler other) Return a new XPath handler combining all available functions from this and another handler.static XPathHandler
getHandlerForFunctionDefs
(XPathFunctionDefinition first, XPathFunctionDefinition... defs) Returns a default XPath handler.Returns the set of extension functions for this language module.static XPathHandler
-
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
-
getHandlerForFunctionDefs
static XPathHandler getHandlerForFunctionDefs(XPathFunctionDefinition first, XPathFunctionDefinition... defs) Returns a default XPath handler. -
combine
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
-