Package net.sf.saxon.functions
Class MathFunctionSet
- java.lang.Object
-
- net.sf.saxon.functions.registry.BuiltInFunctionSet
-
- net.sf.saxon.functions.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MathFunctionSet.Atan2Fn
Implement math:atan2static class
MathFunctionSet.PiFn
Implement math:pistatic class
MathFunctionSet.PowFn
Implement math:powstatic class
MathFunctionSet.TrigFn1
Generic superclass for all the arity-1 trig functions-
Nested classes/interfaces inherited from class net.sf.saxon.functions.registry.BuiltInFunctionSet
BuiltInFunctionSet.Entry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConventionalPrefix()
Return a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.static MathFunctionSet
getInstance()
NamespaceUri
getNamespace()
Return the namespace URI for the functions local to this function set.-
Methods inherited from class net.sf.saxon.functions.registry.BuiltInFunctionSet
bind, copy, field, getFunctionDetails, getFunctionItem, importFunctionSet, isAvailable, makeFunction, register, register, registerVariadic
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.functions.FunctionLibrary
setConfiguration
-
-
-
-
Method Detail
-
getInstance
public static MathFunctionSet getInstance()
-
getNamespace
public NamespaceUri getNamespace()
Description copied from class:BuiltInFunctionSet
Return the namespace URI for the functions local to this function set.- Overrides:
getNamespace
in classBuiltInFunctionSet
- 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 classBuiltInFunctionSet
- Returns:
- the string "fn"
-
-