public class XBRLVariableInternal extends java.lang.Object implements XBRLVariableFormulaEvaluable
This class implements the XBRLVariableFormulaEvaluable interface
| Constructor and Description |
|---|
XBRLVariableInternal(XBRLFormulaProcessor proc,
net.sf.saxon.s9api.XdmValue value)
Instantiates a new XBRL variable internal.
|
XBRLVariableInternal(XBRLFormulaProcessor proc,
net.sf.saxon.s9api.XdmValue value,
boolean bindAsSequence)
Instantiates a new XBRL variable internal.
|
| Modifier and Type | Method and Description |
|---|---|
net.sf.saxon.s9api.XdmValue |
adjustValueAccordingToType(net.sf.saxon.s9api.XdmValue val,
net.sf.saxon.s9api.XdmItem item)
Adjust value according to type.
|
boolean |
checkVariable(XBRLVariablesHolder set,
javax.xml.namespace.QName name,
java.util.Collection<net.sf.saxon.s9api.QName> resolved)
Check variable.
|
void |
clear()
Clear.
|
Evaluation |
evaluateValue(XMLFragment evaluationContext,
java.util.Collection<XBRLVariableResourceUse> availableVars,
XBRLVariableSetResource set)
Evaluate value.
|
java.util.List<XBRLFilterUse> |
getFilters(Aspect aspect)
Gets the filters.
|
XBRLFormulaProcessor |
getProcessor()
Gets the processor.
|
java.util.Collection<javax.xml.namespace.QName> |
getVariablesRequired(XBRLVariablesHolder set)
Gets the variables required.
|
XBRLVariableType |
getVariableType()
Gets the variable type.
|
XMLFragment |
getXMLFragment()
Gets the XML fragment.
|
boolean |
isBindAsSequence()
Checks if is bind as sequence.
|
Evaluation |
rawEvaluateValue(XMLFragment evaluationContext,
java.util.Collection<XBRLVariableResourceUse> availableVars)
Raw evaluate value.
|
void |
reset()
Reset.
|
public XBRLVariableInternal(XBRLFormulaProcessor proc, net.sf.saxon.s9api.XdmValue value)
proc - the procvalue - the valuepublic XBRLVariableInternal(XBRLFormulaProcessor proc, net.sf.saxon.s9api.XdmValue value, boolean bindAsSequence)
proc - the procvalue - the valuebindAsSequence - the bind as sequencepublic Evaluation evaluateValue(XMLFragment evaluationContext, java.util.Collection<XBRLVariableResourceUse> availableVars, XBRLVariableSetResource set) throws XFValidationException
evaluateValue in interface XBRLVariableFormulaEvaluableevaluationContext - the evaluation contextavailableVars - the available varsset - the setXFValidationException - the XF validation exceptionXBRLVariableFormulaEvaluable.rawEvaluateValue(XMLFragment, Collection)public Evaluation rawEvaluateValue(XMLFragment evaluationContext, java.util.Collection<XBRLVariableResourceUse> availableVars) throws XFValidationException
rawEvaluateValue in interface XBRLVariableFormulaEvaluableevaluationContext - the evaluation contextavailableVars - the available varsXFValidationException - the XF validation exceptionpublic void clear()
clear in interface XBRLVariableFormulaEvaluablepublic boolean isBindAsSequence()
isBindAsSequence in interface XBRLVariableFormulaEvaluablepublic boolean checkVariable(XBRLVariablesHolder set, javax.xml.namespace.QName name, java.util.Collection<net.sf.saxon.s9api.QName> resolved) throws XFValidationException
checkVariable in interface XBRLVariableFormulaEvaluableset - the setname - the nameresolved - the resolvedXFValidationException - the XF validation exceptionpublic java.util.Collection<javax.xml.namespace.QName> getVariablesRequired(XBRLVariablesHolder set)
getVariablesRequired in interface XBRLVariableFormulaEvaluableset - the setpublic XBRLFormulaProcessor getProcessor()
getProcessor in interface XBRLVariableFormulaEvaluablepublic java.util.List<XBRLFilterUse> getFilters(Aspect aspect)
getFilters in interface XBRLVariableFormulaEvaluableaspect - the aspectpublic XBRLVariableType getVariableType()
getVariableType in interface XBRLVariableFormulaEvaluablepublic net.sf.saxon.s9api.XdmValue adjustValueAccordingToType(net.sf.saxon.s9api.XdmValue val,
net.sf.saxon.s9api.XdmItem item)
throws XFValidationException
adjustValueAccordingToType in interface XBRLVariableFormulaEvaluableval - the valitem - the itemXFValidationException - the XF validation exceptionpublic XMLFragment getXMLFragment()
getXMLFragment in interface XBRLVariableFormulaEvaluablepublic void reset()
reset in interface XBRLVariableFormulaEvaluableCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa