Class MathFunctionSet

  • All Implemented Interfaces:
    FunctionLibrary

    public class MathFunctionSet
    extends BuiltInFunctionSet
    Abstract class providing functionality common to functions math:sin(), math:cos(), math:sqrt() etc; contains the concrete implementations of these functions as inner subclasses
    • Method Detail

      • getNamespace

        public java.lang.String 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"