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(String localName,
Expression[] arguments,
StaticContext env,
Container container)
Make a Saxon function with a given name
|
static String |
pluralArguments(int num)
Utility routine used in constructing error messages
|
bind, copy, getFunctionSignature, iterateFunctionNames, registerFunctionpublic VendorFunctionLibrary()
protected void init()
public Expression makeSaxonFunction(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 expressionXPathExceptionpublic static String pluralArguments(int num)
num - a number