net.sf.saxon.functions
public class VendorFunctionLibrary extends IntegratedFunctionLibrary
Constructor Summary | |
---|---|
VendorFunctionLibrary()
Create the Vendor Function Library for Saxon |
Method Summary | |
---|---|
protected void | init() |
Expression | makeSaxonFunction(String localName, StaticContext env, Expression[] arguments)
Make a Saxon function with a given name |
static String | pluralArguments(int num)
Utility routine used in constructing error messages |
Parameters: localName the local name of the function env the static context arguments the arguments of the function
Returns: an exprssion representing a call on the given function
Parameters: num a number
Returns: the string " argument" or " arguments" if num is plural