Class XPathFunctionDefinition


  • public abstract class XPathFunctionDefinition
    extends Object
    Base impl for an XPath function definition.
    Since:
    7.0.0
    • Constructor Detail

      • XPathFunctionDefinition

        protected XPathFunctionDefinition​(String localName)
      • XPathFunctionDefinition

        protected XPathFunctionDefinition​(String localName,
                                          Language language)
    • Method Detail

      • getQName

        public final QName getQName()
      • getArgumentTypes

        public XPathFunctionDefinition.Type[] getArgumentTypes()
        Defines the types of the function arguments. By default, an empty array is returned, indicating that the function takes no arguments.
      • makeCallExpression

        public abstract XPathFunctionDefinition.FunctionCall makeCallExpression()
        Create a call on this function. This method is called, when a function call is found in the XPath expression.