Package com.saxonica.functions.extfn
Class EXPathBinaryFunctionSet
- java.lang.Object
-
- net.sf.saxon.functions.registry.BuiltInFunctionSet
-
- com.saxonica.functions.extfn.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.saxon.functions.registry.BuiltInFunctionSet
BuiltInFunctionSet.Entry
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_NAMESPACEstatic java.lang.StringERROR_PREFIXstatic java.lang.StringNAMESPACEstatic java.lang.StringPREFIXstatic doubleVERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiderror(java.lang.String message, java.lang.String code)Throw an errorjava.lang.StringgetConventionalPrefix()Return a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.static EXPathBinaryFunctionSetgetInstance()java.lang.StringgetNamespace()Return the namespace URI for the functions local to this function set.-
Methods inherited from class net.sf.saxon.functions.registry.BuiltInFunctionSet
bind, copy, getFunctionDetails, getFunctionItem, importFunctionSet, isAvailable, makeFunction, register, registerReducedArityVariants
-
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
-
-
-
-
Field Detail
-
VERSION
public static final double VERSION
- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
ERROR_NAMESPACE
public static final java.lang.String ERROR_NAMESPACE
- See Also:
- Constant Field Values
-
ERROR_PREFIX
public static final java.lang.String ERROR_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static EXPathBinaryFunctionSet getInstance()
-
getNamespace
public java.lang.String getNamespace()
Description copied from class:BuiltInFunctionSetReturn the namespace URI for the functions local to this function set.- Overrides:
getNamespacein 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:BuiltInFunctionSetReturn a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.- Overrides:
getConventionalPrefixin classBuiltInFunctionSet- Returns:
- the string "fn"
-
error
public static void error(java.lang.String message, java.lang.String code) throws XPathExceptionThrow an error- Parameters:
message- the error messagecode- the error code to be used- Throws:
XPathException- always
-
-