public class XBRLCustomFunctionImplementationLibrary extends XBRLFPRSCustomFunctionLibraryAbstract
Constructor and Description |
---|
XBRLCustomFunctionImplementationLibrary(XBRLFormulaProcessor proc,
java.lang.String uri,
java.lang.String prefix)
Instantiates a new XBRL custom function implementation library.
|
Modifier and Type | Method and Description |
---|---|
void |
addEntry(XBRLCustomFunctionImplementation xbrlCustomFunctionImplementation)
Adds the entry.
|
net.sf.saxon.expr.Expression |
bind(net.sf.saxon.trans.SymbolicName sn,
net.sf.saxon.expr.Expression[] staticArgs,
net.sf.saxon.expr.StaticContext env,
net.sf.saxon.expr.Container container)
Bind.
|
net.sf.saxon.functions.StandardFunction.Entry |
getFunction(java.lang.String name,
int arity)
Gets the function.
|
java.lang.String |
getFunctionLibraryPrefix()
Gets the function library prefix.
|
java.lang.String |
getFunctionLibraryURI()
Gets the function library URI.
|
getFormulaProcessor, setFormulaProcessor
copy, getFunctionItem, getFunctionSignature, isAvailable
public XBRLCustomFunctionImplementationLibrary(XBRLFormulaProcessor proc, java.lang.String uri, java.lang.String prefix)
proc
- the procuri
- the uriprefix
- the prefixpublic java.lang.String getFunctionLibraryURI()
getFunctionLibraryURI
in class XBRLRSCustomFunctionLibraryAbstract<XFFunction>
public java.lang.String getFunctionLibraryPrefix()
getFunctionLibraryPrefix
in class XBRLRSCustomFunctionLibraryAbstract<XFFunction>
public net.sf.saxon.functions.StandardFunction.Entry getFunction(java.lang.String name, int arity)
getFunction
in class XBRLRSCustomFunctionLibraryAbstract<XFFunction>
name
- the namearity
- the aritypublic void addEntry(XBRLCustomFunctionImplementation xbrlCustomFunctionImplementation) throws net.sf.saxon.trans.XPathException
xbrlCustomFunctionImplementation
- the xbrl custom function implementationnet.sf.saxon.trans.XPathException
- the x path exceptionpublic net.sf.saxon.expr.Expression bind(net.sf.saxon.trans.SymbolicName sn, 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.FunctionLibrary
bind
in class XBRLRSCustomFunctionLibraryAbstract<XFFunction>
sn
- the snstaticArgs
- the static argsenv
- the envcontainer
- the containernet.sf.saxon.trans.XPathException
- the x path exceptionCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa