com.ihr.xbrl.om.formula.util
Class XBRLVariableTree

java.lang.Object
  extended by com.ihr.xbrl.om.formula.util.XBRLVariableTree

public class XBRLVariableTree
extends java.lang.Object

Author:
Ignacio

Field Summary
static org.apache.log4j.Logger log
           
 
Constructor Summary
XBRLVariableTree(java.util.List<XBRLVariableResourceUse> vars, java.util.HashSet<javax.xml.namespace.QName> resolved, XBRLVariableSetResource set)
           
 
Method Summary
 boolean bindCycle(XMLEvaluationContextProvider evalProvider, java.util.Vector<XBRLVariableResourceUse> evaluatedVars)
          Bind variables in this level.
 void clear()
          Clear all memory assigned to evaluation caches of variables in this variable tree
 java.util.HashSet<javax.xml.namespace.QName> getDependencies(javax.xml.namespace.QName thisVarName)
           
 VariablesLoopController.ClsVariableSetCombinationsIterator getImplicitFilterController(XBRLVariableSetResource xbrlVariableSetResource)
           
 com.ihr.xbrl.om.formula.util.VariableType getVariableDependencyType(javax.xml.namespace.QName qName)
           
 boolean hasActiveSubPartitioning()
           
 boolean hasNext()
           
 boolean initialize(XMLEvaluationContextProvider evalProvider, java.util.Vector<XBRLVariableResourceUse> evaluatedVars)
          Initialize the tree and returns true if there is at least one binding or false if there are no bindings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.apache.log4j.Logger log
Constructor Detail

XBRLVariableTree

public XBRLVariableTree(java.util.List<XBRLVariableResourceUse> vars,
                        java.util.HashSet<javax.xml.namespace.QName> resolved,
                        XBRLVariableSetResource set)
                 throws XFValidationException
Throws:
XFValidationException
Method Detail

bindCycle

public boolean bindCycle(XMLEvaluationContextProvider evalProvider,
                         java.util.Vector<XBRLVariableResourceUse> evaluatedVars)
                  throws XFValidationException
Bind variables in this level. Then, call next level. This object acts as variable resolver for variables already resolved

Parameters:
variablesLoopCtl -
evalProvider -
evaluatedVars -
set -
Returns:
boolean true if binding is OK because not all variables bind to fall back values
Throws:
XFValidationException

hasNext

public boolean hasNext()
Returns:

hasActiveSubPartitioning

public boolean hasActiveSubPartitioning()
Returns:

getImplicitFilterController

public VariablesLoopController.ClsVariableSetCombinationsIterator getImplicitFilterController(XBRLVariableSetResource xbrlVariableSetResource)
Parameters:
xbrlVariableSetResource -
Returns:

getDependencies

public java.util.HashSet<javax.xml.namespace.QName> getDependencies(javax.xml.namespace.QName thisVarName)
Parameters:
thisVarName -
Returns:

getVariableDependencyType

public com.ihr.xbrl.om.formula.util.VariableType getVariableDependencyType(javax.xml.namespace.QName qName)
Parameters:
qName -
Returns:

initialize

public boolean initialize(XMLEvaluationContextProvider evalProvider,
                          java.util.Vector<XBRLVariableResourceUse> evaluatedVars)
                   throws XFValidationException
Initialize the tree and returns true if there is at least one binding or false if there are no bindings

Returns:
boolean
Throws:
XFValidationException

clear

public void clear()
Clear all memory assigned to evaluation caches of variables in this variable tree



Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa