Class FuncExtFunctionAvailable

    • Constructor Detail

      • FuncExtFunctionAvailable

        public FuncExtFunctionAvailable()
    • Method Detail

      • execute

        public XObject execute​(XPathContext xctxt)
                        throws javax.xml.transform.TransformerException
        Execute the function. The function must return a valid object.
        Overrides:
        execute in class Function
        Parameters:
        xctxt - The current execution context.
        Returns:
        A valid XObject.
        Throws:
        javax.xml.transform.TransformerException
      • setFunctionTable

        public void setFunctionTable​(FunctionTable aTable)
        The function table is an instance field. In order to access this instance field during evaluation, this method is called at compilation time to insert function table information for later usage. It should only be used during compiling of XPath expressions.
        Parameters:
        aTable - an instance of the function table