Class FunctionTable


  • public class FunctionTable
    extends java.lang.Object
    The function table for XPath.
    • Constructor Detail

      • FunctionTable

        public FunctionTable()
    • Method Detail

      • installFunction

        public int installFunction​(java.lang.String name,
                                   java.lang.Class func)
        Install a built-in function.
        Parameters:
        name - The unqualified name of the function, must not be null
        func - A Implementation of an XPath Function object.
        Returns:
        the position of the function in the internal index.
      • functionAvailable

        public boolean functionAvailable​(java.lang.String methName)
        Tell if a built-in, non-namespaced function is available.
        Parameters:
        methName - The local name of the function.
        Returns:
        True if the function can be executed.