public abstract class XBRLRSCustomFunctionLibraryAbstract extends java.lang.Object implements XBRLRSCustomFunctionLibrary
| Constructor and Description |
|---|
XBRLRSCustomFunctionLibraryAbstract() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.saxon.expr.Expression |
bind(net.sf.saxon.om.StructuredQName functionName,
net.sf.saxon.expr.Expression[] staticArgs,
net.sf.saxon.expr.StaticContext env,
net.sf.saxon.expr.Container container) |
net.sf.saxon.functions.FunctionLibrary |
copy() |
XBRLFormulaProcessor |
getFormulaProcessor()
This function returns the instance of the XBRLFormulaProcessor that has been set
during the initialization phase of this library.
|
abstract net.sf.saxon.functions.StandardFunction.Entry |
getFunction(java.lang.String local,
int arity)
Returns the implementation of a specific function providing the function local name
and the arity.
|
abstract java.lang.String |
getFunctionLibraryPrefix()
Returns the custom function library prefix.
|
abstract java.lang.String |
getFunctionLibraryURI()
returns the custom function library URI.
|
net.sf.saxon.value.SequenceType[] |
getFunctionSignature(net.sf.saxon.om.StructuredQName functionName,
int arity) |
boolean |
isAvailable(net.sf.saxon.om.StructuredQName functionName,
int arity)
Checks if is available.
|
void |
setFormulaProcessor(XBRLFormulaProcessor fp)
This function will be called when the function library is initialized.
|
public XBRLFormulaProcessor getFormulaProcessor()
XBRLRSCustomFunctionLibraryUse methods inside the XBRLFormulaProcessor in order to access the instance document under validation, the DTSContainer and, from that point, all the information in the DTS such as concepts defined, labels, relationships, etc.
getFormulaProcessor in interface XBRLRSCustomFunctionLibrarypublic void setFormulaProcessor(XBRLFormulaProcessor fp)
XBRLRSCustomFunctionLibraryXBRLRSCustomFunctionLibrary.getFormulaProcessor()setFormulaProcessor in interface XBRLRSCustomFunctionLibraryfp - the new formula processorpublic abstract java.lang.String getFunctionLibraryURI()
public abstract java.lang.String getFunctionLibraryPrefix()
public abstract net.sf.saxon.functions.StandardFunction.Entry getFunction(java.lang.String local,
int arity)
local - function local namearity - number of argumentspublic net.sf.saxon.expr.Expression bind(net.sf.saxon.om.StructuredQName functionName,
net.sf.saxon.expr.Expression[] staticArgs,
net.sf.saxon.expr.StaticContext env,
net.sf.saxon.expr.Container container)
throws net.sf.saxon.trans.XPathException
bind in interface net.sf.saxon.functions.FunctionLibrarynet.sf.saxon.trans.XPathExceptionpublic net.sf.saxon.functions.FunctionLibrary copy()
copy in interface net.sf.saxon.functions.FunctionLibrarypublic boolean isAvailable(net.sf.saxon.om.StructuredQName functionName,
int arity)
functionName - the function namearity - the aritypublic net.sf.saxon.value.SequenceType[] getFunctionSignature(net.sf.saxon.om.StructuredQName functionName,
int arity)
getFunctionSignature in interface net.sf.saxon.functions.FunctionLibrary