public class XBRLTable extends XBRLTableResource implements HasParentChildAttribute, HasFilters
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
HasParentChildAttribute.ParentChildEnum
XBRLValidation.Direction
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
aspectModel
The Constant aspectModel.
|
static javax.xml.namespace.QName |
resourceName
The node name table:table in the REC_2014_03_18 namespace.
|
log, nullResource
actuate, ARC, arcrole, ETITLE, EXTENDED, from, href, label, LOCATOR, RESOURCE, role, show, SIMPLE, title, to, X_ACTUATE, X_ARCROLE, X_FROM, X_HREF, X_LABEL, X_ROLE, X_SHOW, X_TITLE, X_TO, X_TYPE, XLINKPREFIX
ADD_NAMESPACE_INHERIT, baseQName, CONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, FACT_VALUE, HIDE_COMMON_ACCURACY, idQName, langQName, nil, NO_POSITION, OrderComparator, OrderComparator2, OrderComparatorReverse, PERIOD_BOP, PERIOD_TYPE, PERIOD_VALUE, RELATIONSHIP_TYPE, RESOURCE_TYPE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER
parentChilOrder
Constructor and Description |
---|
XBRLTable(XBRLTableProcessor xbrlTableProcessor,
XBRLResource res)
Creates a new table in the definition model.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
XBRLVariablesHolder.ModelType |
getAspectModel()
Returns either XBRLVariablesHolder.MODEL_DIMENSIONAL or XBRLVariablesHolder.MODEL_NON_DIMENSIONAL
|
java.util.Iterator<Axis> |
getAxis()
Access to an iterator of the axis that exists in the table due to the
existence of table-breakdown relationships.
|
java.util.Iterator<XBRLBreakdownUse> |
getBreakdowns(Axis axis)
Gets the breakdowns.
|
java.util.Iterator<XBRLFilterUse> |
getFilters()
Gets the filters.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
XBRLVariableParameter |
getParameter(net.sf.saxon.s9api.QName parameterName)
Access to a single table parameter from the parameter name.
|
java.util.Collection<java.util.Set<net.sf.saxon.s9api.QName>> |
getParameterKeys()
Access to all table parameter names
|
java.util.Collection<net.sf.saxon.s9api.QName> |
getParameterNames()
Access to all table parameter names
|
HasParentChildAttribute.ParentChildEnum |
getParentChildOrder()
Gets the parent child order.
|
java.util.Iterator<XBRLStructuralTable> |
getStructuralTables()
Returns an iterator over all structural tables defined from this table definition.
|
XBRLTableSet |
getTableSet()
Builds up the table set for this table.
|
boolean |
hasChildNodes() |
boolean |
isAxisExplicitlyDefined(Axis axis)
Returns true if the table contains an explicit definition of the axis passed in
as the axis parameter.
|
boolean |
isParentChildOrderDefined()
Checks if is parent child order defined.
|
static XBRLTable |
make(XBRLTableProcessor xbrlTableProcessor,
XBRLResource res)
Make.
|
void |
resetTable()
This method traverse all elements in the definition layer and cleans up all evaluated
and cached resources so the table can be evaluated again. it is calles by the API
automatically each time a table in the tableSet is evaluated
|
getFPXPathCompiler, getProcessor, getXPath, isSpecificationVersion
addChild, clone, clone, equals, generateNode, getAttributes, getCode, getDTSBase, getFriendlyName, getFriendlyName, getFriendlyName, getParentXBRL, getResourceIdentifier, getRoleType, getType, getValidationReport, getValueKey, hashCode, invalidate, invalidate, isComplexType, isHashDependsOnAtribute, isOnValidation, isSimpleType, setCode, setComplexType, setDTSBase, setId, setRawParentXBRL, setRole, setRoleType, setSimpleType, setValue, validate
getActuate, getArcrole, getFromTxt, getHRef, getHRefDocument, getHRefDocumentResolved, getHRefResolved, getLabel, getRawHRef, getReference, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setTo, validateXPointer
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getElements, getFirstChildNoComment, getFragment, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getInScopeNamespaces, getLang, getLastChildNoComment, getNamePool, getNamespaceBinding, getNamespaceURI, getNextSiblingNoComment, getNodeName, getNthElement, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParentDocument, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, isNamespaceDefined, isNil, moveNamespacesUp, objEquals, objHashCode, reindex, removeChild, removeChildNode, removeFromRelationship, removeNamespace, removePropertyChangeListener, removeToRelationship, replace, replaceChild, replaceStringValue, resetElements, resolveHRef, s_equal2_xp2, s_equal2_xp2, s_equal2, s_equal2, s_equal2, s_equal2, setAttributeList, setAttributes, setBase, setChildrenClone, setDirty, setElements, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNil, setNodeName, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, valueEquals, xEqual
addAttribute, addNamespace, generateId, getAttributeList, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDocumentRoot, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getRoot, getSchemaType, getSystemId, getTypeAnnotation, getURIForPrefix, gsetAttributeCollection, isId, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, setLocation, setNameCode, setNamespaceList, setSystemId, setTypeAnnotation
atomize, compareOrder, comparePosition, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getSiblingPosition, getSuccessorElement, getURI, head, insertSiblings, isDeleted, isIdref, isSameNodeInfo, iterate, iterateAxis, iterateAxis, newBuilder, replace
public static final javax.xml.namespace.QName aspectModel
public static final javax.xml.namespace.QName resourceName
public XBRLTable(XBRLTableProcessor xbrlTableProcessor, XBRLResource res) throws XTValidationException
xbrlTableProcessor
- the xbrl table processorres
- the resXTValidationException
- the XT validation exceptionpublic static XBRLTable make(XBRLTableProcessor xbrlTableProcessor, XBRLResource res) throws XTValidationException
xbrlTableProcessor
- the xbrl table processorres
- the resXTValidationException
- the XT validation exceptionpublic java.util.Iterator<XBRLStructuralTable> getStructuralTables() throws XTValidationException, XFException
XTValidationException
- raised only during DTS loadingXFException
- the XF exceptionpublic XBRLTableSet getTableSet() throws XTValidationException, XFException
XTValidationException
- the XT validation exceptionXFException
- the XF exceptionpublic java.util.Iterator<Axis> getAxis()
public boolean isAxisExplicitlyDefined(Axis axis)
axis
- the axispublic XBRLVariablesHolder.ModelType getAspectModel()
public boolean isParentChildOrderDefined()
isParentChildOrderDefined
in interface HasParentChildAttribute
public HasParentChildAttribute.ParentChildEnum getParentChildOrder()
getParentChildOrder
in interface HasParentChildAttribute
public java.util.Iterator<XBRLBreakdownUse> getBreakdowns(Axis axis)
axis
- the axispublic java.util.Iterator<XBRLFilterUse> getFilters()
getFilters
in interface HasFilters
public java.util.Collection<java.util.Set<net.sf.saxon.s9api.QName>> getParameterKeys()
getParameter(QName)
public java.util.Collection<net.sf.saxon.s9api.QName> getParameterNames()
getParameterNames
in interface HasFilters
getParameter(QName)
public XBRLVariableParameter getParameter(net.sf.saxon.s9api.QName parameterName)
parameterName
- a QNamepublic void resetTable()
public void clear() throws java.lang.Throwable
clear
in class XBRLResource
java.lang.Throwable
- the throwablepublic final boolean hasChildNodes()
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class net.sf.saxon.tree.linked.NodeImpl
public final int getNumberOfChildren()
public final net.sf.saxon.tree.linked.NodeImpl getFirstChild()
getFirstChild
in interface net.sf.saxon.tree.util.SteppingNode<net.sf.saxon.tree.linked.NodeImpl>
getFirstChild
in class net.sf.saxon.tree.linked.NodeImpl
public final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild
in class net.sf.saxon.tree.linked.NodeImpl
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa