Class MapFunctionSet

  • All Implemented Interfaces:
    FunctionLibrary

    public class MapFunctionSet
    extends BuiltInFunctionSet
    Function signatures (and pointers to implementations) of the functions defined in the map namespace in XPath 3.1
    • Method Detail

      • getInstance

        public static MapFunctionSet getInstance​(int version)
        Get the set of functions defined in the F&O spec in the "map" namespace
        Parameters:
        version - the XPath version (eg 31, 40). Currently any version less than 40 is treated as 31, and any version greater than 40 is treated as 40.
        Returns:
        the function library
      • 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"