|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.formula.XBRLRSCustomFunctionLibraryAbstract
public abstract class XBRLRSCustomFunctionLibraryAbstract
This class in an implementation of the XBRLRSCustomFunctionLibrary interface that helps implementing new functions
| Constructor Summary | |
|---|---|
XBRLRSCustomFunctionLibraryAbstract()
|
|
| Method Summary | |
|---|---|
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)
|
void |
setFormulaProcessor(XBRLFormulaProcessor fp)
This function will be called when the function library is initialized. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLRSCustomFunctionLibraryAbstract()
| Method Detail |
|---|
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 XBRLRSCustomFunctionLibrarypublic 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 arguments
public 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.FunctionLibrary
public boolean isAvailable(net.sf.saxon.om.StructuredQName functionName,
int arity)
public net.sf.saxon.value.SequenceType[] getFunctionSignature(net.sf.saxon.om.StructuredQName functionName,
int arity)
getFunctionSignature in interface net.sf.saxon.functions.FunctionLibrary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||