public class VendorFunctionLibrary extends IntegratedFunctionLibrary
Constructor and Description |
---|
VendorFunctionLibrary()
Create the Vendor Function Library for Saxon
|
Modifier and Type | Method and Description |
---|---|
protected void |
init() |
Expression |
makeSaxonFunction(java.lang.String localName,
Expression[] arguments,
StaticContext env,
Container container)
Make a Saxon function with a given name
|
static java.lang.String |
pluralArguments(int num)
Utility routine used in constructing error messages
|
bind, copy, getFunctionSignature, iterateFunctionNames, registerFunction
public VendorFunctionLibrary()
protected void init()
public Expression makeSaxonFunction(java.lang.String localName, Expression[] arguments, StaticContext env, Container container) throws XPathException
localName
- the local name of the functionarguments
- the arguments of the functionenv
- the static contextcontainer
- the container for the new expressionXPathException
public static java.lang.String pluralArguments(int num)
num
- a number