public abstract class XBRLDocumentRootNode extends XMLFragment
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
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
Constructor and Description |
---|
XBRLDocumentRootNode(DTSContainer dts,
javax.xml.namespace.QName nodename)
Instantiates a new XBRL document root node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addExtendedLink(XBRLExtendedLink newExtendedLink)
Adds the extended link.
|
void |
changeExtendedLink(XBRLExtendedLink linkOld,
XBRLExtendedLink linkNew)
Change extended link key.
|
void |
checkRoleType(XBRLRoleType roleType,
java.net.URI txURI)
Check role type.
|
void |
clear()
Clear.
|
XBRLDocumentRootNode |
generateNode()
Generate node.
|
java.net.URI |
getContainerDocumentURI()
Returns the document URI from the surrounding root document.
|
java.util.Iterator<XBRLExtendedLink> |
getExtendedLinks()
Returns an iterator over all extended links on this container.The container may be
an XBRLInstance, an XBRLTaxonomy or an XBRLLinkbase.
|
java.util.Iterator<XBRLExtendedLink> |
getExtendedLinks(XBRLRoleType role)
Returns an iterator over all extended links on this container filtered by the
specific role type indicated in the role parameter.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
XBRLDocument |
getRootDocument()
Gets the root document.
|
boolean |
hasChildNodes() |
void |
removeExtendedLink(XBRLExtendedLink link)
Removes the extended link.
|
void |
removeExtendedLinks()
Removes the extended links.
|
void |
setExtendedLinks(java.util.LinkedHashSet<XBRLExtendedLink> extendedLinks)
The SAX parser calls this method to set collected extended links on the parent document
and speed up DTS loading.
|
void |
setRootDocument(XBRLDocument rootDocument)
Sets the root document.
|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, clone, clone, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equals, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getDocument, getElement, getElement, getElements, getFirstChildNoComment, getFragment, getFriendlyName, getFriendlyName, getFriendlyName, 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, getParentXBRL, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPath, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, hashCode, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, isHashDependsOnAtribute, 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, setId, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNil, setNodeName, setRawParentXBRL, setValue, 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 XBRLDocumentRootNode(DTSContainer dts, javax.xml.namespace.QName nodename)
dts
- the dtsnodename
- the nodenamepublic void clear() throws java.lang.Throwable
clear
in class XMLFragment
java.lang.Throwable
- the throwablepublic java.util.Iterator<XBRLExtendedLink> getExtendedLinks()
public java.util.Iterator<XBRLExtendedLink> getExtendedLinks(XBRLRoleType role)
role
- the XBRLRoleType for filteringpublic void changeExtendedLink(XBRLExtendedLink linkOld, XBRLExtendedLink linkNew)
linkOld
- the link oldlinkNew
- the link newpublic void checkRoleType(XBRLRoleType roleType, java.net.URI txURI) throws DTSDiscoveryException
roleType
- the role typetxURI
- the tx uriDTSDiscoveryException
- the DTS discovery exceptionpublic boolean addExtendedLink(XBRLExtendedLink newExtendedLink)
newExtendedLink
- the new extended linkpublic void removeExtendedLink(XBRLExtendedLink link)
link
- the linkpublic void setExtendedLinks(java.util.LinkedHashSet<XBRLExtendedLink> extendedLinks)
extendedLinks
- the new extended linkspublic XBRLDocument getRootDocument()
public void setRootDocument(XBRLDocument rootDocument)
rootDocument
- the rootDocument to setpublic final XBRLDocumentRootNode generateNode() throws XBRLSerializationException
generateNode
in class XMLFragment
XBRLSerializationException
- the XBRL serialization exceptionpublic java.net.URI getContainerDocumentURI()
getContainerDocumentURI
in class XMLFragment
public void removeExtendedLinks()
public 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