|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.formula.util.VariablesLoopController
public class VariablesLoopController
This class is a controller for iterators over all binded variables for a formula.
| Nested Class Summary | |
|---|---|
static class |
VariablesLoopController.ClsVariableSetCombinationsIterator
|
static class |
VariablesLoopController.ClsVariableSetCombinationsIterator2
|
| Constructor Summary | |
|---|---|
VariablesLoopController()
|
|
| Method Summary | |
|---|---|
ClsVarIterator |
createIterator(javax.xml.namespace.QName varName)
|
VariablesLoopController.ClsVariableSetCombinationsIterator |
getImplicitFilterController(XBRLVariableSetResource xbrlVariableSetResource)
|
int |
getLevel()
|
boolean |
hasActiveSubPartitioning()
|
boolean |
hasNext()
|
boolean |
hasNext(javax.xml.namespace.QName variableName)
|
void |
initialize(XBRLVariableTree tree,
XMLEvaluationContextProvider evalProvider,
java.util.Vector<XBRLVariableResourceUse> evaluatedVars)
Initializes the VariablesLoopController by setting the value of the tree that contains the variables required for each evaluation level and the interdependencies between variables. |
boolean |
isFallbackValue(javax.xml.namespace.QName variableName)
|
boolean |
isValidInitialBinding()
|
void |
next()
|
net.sf.saxon.s9api.XdmValue |
next(javax.xml.namespace.QName variableName,
XBRLVariableResource res)
This returns the next element in the sequence or the last returned element in the sequence if the sequence is not the topmost sequence in the stack. |
boolean |
uninitialized()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariablesLoopController()
| Method Detail |
|---|
public boolean hasNext(javax.xml.namespace.QName variableName)
throws XFValidationException
XFValidationException
public net.sf.saxon.s9api.XdmValue next(javax.xml.namespace.QName variableName,
XBRLVariableResource res)
throws XFValidationException
variableName -
XFValidationExceptionpublic VariablesLoopController.ClsVariableSetCombinationsIterator getImplicitFilterController(XBRLVariableSetResource xbrlVariableSetResource)
xbrlVariableSetResource - public boolean hasActiveSubPartitioning()
public boolean isFallbackValue(javax.xml.namespace.QName variableName)
throws XFValidationException
variableName -
XFValidationExceptionpublic boolean uninitialized()
public ClsVarIterator createIterator(javax.xml.namespace.QName varName)
public int getLevel()
public void initialize(XBRLVariableTree tree,
XMLEvaluationContextProvider evalProvider,
java.util.Vector<XBRLVariableResourceUse> evaluatedVars)
throws XFValidationException
Then, create an iterator that can be used for iterating throw all variables
Then move to the first value in the loop.
Then, initialization is finished.
A call to next() will return the calculated value and move forward to the next element and so on.
evaluatedVars - evalProvider - xbrlVariableTree -
XFValidationExceptionpublic boolean hasNext()
public void next()
throws XFValidationException
b -
XFValidationExceptionpublic boolean isValidInitialBinding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||