public class VariablesLoopController
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | VariablesLoopController.ClsVariableSetCombinationsIteratorThe Class ClsVariableSetCombinationsIterator. | 
| static class  | VariablesLoopController.ClsVariableSetCombinationsIterator2The Class ClsVariableSetCombinationsIterator2. | 
| static interface  | VariablesLoopController.InterfaceVariableSetIteratorThe Interface InterfaceVariableSetIterator. | 
| Constructor and Description | 
|---|
| VariablesLoopController() | 
| Modifier and Type | Method and Description | 
|---|---|
| LookForwardIterator | createIterator(javax.xml.namespace.QName varName)Creates the iterator. | 
| VariablesLoopController.ClsVariableSetCombinationsIterator | getImplicitFilterController(XBRLVariableSetResource xbrlVariableSetResource)Gets the implicit filter controller. | 
| int | getLevel()Gets the level. | 
| boolean | hasActiveSubPartitioning()Checks for active sub partitioning. | 
| boolean | hasNext()Checks for next. | 
| boolean | hasNext(javax.xml.namespace.QName variableName)Checks for next. | 
| void | initialize(XBRLVariableTree tree,
          XMLEvaluationContextProvider evalProvider,
          java.util.List<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)Checks if is fallback value. | 
| boolean | isValidInitialBinding()Checks if is valid initial binding. | 
| void | next()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()Uninitialized. | 
public boolean hasNext(javax.xml.namespace.QName variableName)
                throws XFValidationException
variableName - the variable nameXFValidationException - the XF validation exceptionpublic net.sf.saxon.s9api.XdmValue next(javax.xml.namespace.QName variableName,
                                        XBRLVariableResource res)
                                 throws XFValidationException
variableName - the variable nameres - the resXFValidationException - the XF validation exceptionpublic VariablesLoopController.ClsVariableSetCombinationsIterator getImplicitFilterController(XBRLVariableSetResource xbrlVariableSetResource)
xbrlVariableSetResource - the xbrl variable set resourcepublic boolean hasActiveSubPartitioning()
public boolean isFallbackValue(javax.xml.namespace.QName variableName)
                        throws XFValidationException
variableName - the variable nameXFValidationException - the XF validation exceptionpublic boolean uninitialized()
public LookForwardIterator createIterator(javax.xml.namespace.QName varName)
varName - the var namepublic int getLevel()
public void initialize(XBRLVariableTree tree, XMLEvaluationContextProvider evalProvider, java.util.List<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.
tree - the treeevalProvider - the eval providerevaluatedVars - the evaluated varsXFValidationException - the XF validation exceptionpublic boolean hasNext()
public void next()
          throws XFValidationException
XFValidationException - the XF validation exceptionpublic boolean isValidInitialBinding()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa