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 NamespaceUri
ERROR_NAMESPACE
static java.lang.String
ERROR_PREFIX
static NamespaceUri
NAMESPACE
static java.lang.String
PREFIX
static double
VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
error(java.lang.String message, java.lang.String code)
Throw an errorjava.lang.String
getConventionalPrefix()
Return a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.static EXPathBinaryFunctionSet
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
-
-
-
-
Field Detail
-
VERSION
public static final double VERSION
- See Also:
- Constant Field Values
-
NAMESPACE
public static final NamespaceUri NAMESPACE
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
ERROR_NAMESPACE
public static final NamespaceUri ERROR_NAMESPACE
-
ERROR_PREFIX
public static final java.lang.String ERROR_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static EXPathBinaryFunctionSet 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"
-
error
public static void error(java.lang.String message, java.lang.String code) throws XPathException
Throw an error- Parameters:
message
- the error messagecode
- the error code to be used- Throws:
XPathException
- always
-
-