public class XBRLStructuralTable
extends java.lang.Object
| Constructor and Description | 
|---|
| XBRLStructuralTable(XBRLTable tableDef,
                   XBRLTableSet.EvaluationSet set)This constructor explores the XBRLTable definition and creates a the structural model
 with no parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | bindVariablesToFormulaParameters(net.sf.saxon.s9api.XPathSelector sel,
                                java.util.Collection<javax.xml.namespace.QName> definedParameters)Bind variables to formula parameters. | 
| void | bindVariablesToParameters(net.sf.saxon.s9api.XPathSelector sel,
                         java.util.Collection<javax.xml.namespace.QName> definedParameters)Bind variables to parameters. | 
| void | clear()Clear. | 
| java.util.Iterator<Axis> | getAxis()Access to all axis defined in the table in the following order: z, y and x. | 
| XBRLStructuralBreakdown | getBreakdown(Axis axis)Obtains the structural breakdown for a table axis, if no XBRLStructuralBreakdown exists
 a new one is created. | 
| HasParentChildAttribute.ParentChildEnum | getEffectiveParentChild(XBRLTableResource tr)This method is used when computing the EffectiveBreakdown internally by the API. | 
| XBRLTableSet.EvaluationSet | getEvaluationSet()The evaluation set contains parameters and bind values for the
 parameters so the table can be defined. | 
| XBRLTableLayout | getLayoutTable()Creates or gets the XBRLTableLayout instance for this structural table. | 
| XBRLTable | getTableDefinifion()Access to the table in the definition model. | 
| boolean | hasAxis(Axis x)Check if the structural table contains definition of the specific axis. | 
| void | putEffectiveParentChild(XBRLTableResource tr,
                       HasParentChildAttribute.ParentChildEnum currentParentChildValue)Put effective parent child. | 
| void | resetLayout()Reset the table layout so the next call to getTableLayout will generate a new layout. | 
| XBRLStructuralBreakdown | resolveBreakdownVariable(Axis axis)This class contains single variables for the breakdown on each axis. | 
public XBRLStructuralTable(XBRLTable tableDef, XBRLTableSet.EvaluationSet set) throws XTValidationException
tableDef - instance of XBRLTable definition modelset - the setXTValidationException - the XT validation exceptionpublic XBRLTable getTableDefinifion()
public XBRLTableSet.EvaluationSet getEvaluationSet()
public XBRLTableLayout getLayoutTable() throws XTValidationException, XFException
resetLayout()
 when the layout is no longer required in order to clear memoryXTValidationException - the XT validation exceptionXFException - the XF exceptionpublic XBRLStructuralBreakdown getBreakdown(Axis axis)
axis - the axispublic XBRLStructuralBreakdown resolveBreakdownVariable(Axis axis)
axis - the axispublic java.util.Iterator<Axis> getAxis()
public void bindVariablesToParameters(net.sf.saxon.s9api.XPathSelector sel,
                                      java.util.Collection<javax.xml.namespace.QName> definedParameters)
sel - the seldefinedParameters - the defined parameterspublic void bindVariablesToFormulaParameters(net.sf.saxon.s9api.XPathSelector sel,
                                             java.util.Collection<javax.xml.namespace.QName> definedParameters)
sel - the seldefinedParameters - the defined parameterspublic void resetLayout()
getLayoutTable()public void clear()
public void putEffectiveParentChild(XBRLTableResource tr, HasParentChildAttribute.ParentChildEnum currentParentChildValue)
tr - the trcurrentParentChildValue - the current parent child valuepublic HasParentChildAttribute.ParentChildEnum getEffectiveParentChild(XBRLTableResource tr)
tr - the trpublic boolean hasAxis(Axis x)
x - the axis to check definition forCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa