Class EXPathBinaryFunctionSet

  • All Implemented Interfaces:
    FunctionLibrary

    public class EXPathBinaryFunctionSet
    extends BuiltInFunctionSet
    Implementation of extension functions in the EXPath Binary package, see http://expath.org/spec/binary
    • Method Detail

      • getNamespace

        public NamespaceUri getNamespace()
        Description copied from class: BuiltInFunctionSet
        Return the namespace URI for the functions local to this function set.
        Overrides:
        getNamespace in class BuiltInFunctionSet
        Returns:
        the namespace URI of the functions local to this function set. Note that functions imported from another function set may have a different namespace URI.
      • getConventionalPrefix

        public java.lang.String getConventionalPrefix()
        Description copied from class: BuiltInFunctionSet
        Return a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.
        Overrides:
        getConventionalPrefix in class BuiltInFunctionSet
        Returns:
        the string "fn"
      • error

        public static void error​(java.lang.String message,
                                 java.lang.String code)
                          throws XPathException
        Throw an error
        Parameters:
        message - the error message
        code - the error code to be used
        Throws:
        XPathException - always