public class XBRLTuple extends XBRLElementDefinition implements XBRLValidation
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
XBRLValidation.Direction
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
substitutionGroup
This is xbrli:tuple.
|
abstract_, ALL, block, elementDocNode, EMPTY, EXTENSION, final_, fixed, name, nillable, nullConcept, RESTRICTION, SUBSTITUTION, type, UNDEFINED
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 |
---|
XBRLTuple(DTSContainer dts)
Instantiates a new XBRL tuple.
|
XBRLTuple(XBRLTaxonomy tx,
java.lang.String name,
javax.xml.namespace.QName sg,
java.lang.Boolean _abstract,
java.lang.Boolean nillable,
int block,
int _final,
XSDComposition comp)
Creates a tuple definition in a taxonomy.
|
XBRLTuple(XMLElementDefinition node)
Instantiates a new XBRL tuple.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
XBRLTuple |
generateNode()
Generate node.
|
XSDComposition |
getComposition()
Access to the XSDComposition object.
|
java.util.Iterator<XMLFragment> |
getElements()
Gets the elements.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
java.lang.String |
getFriendlyName()
Gets the friendly name.
|
java.lang.String |
getFriendlyName(int modifiers,
LabelsProvider lp)
Gets the friendly name.
|
java.util.Collection<XBRLTuple> |
getInSubstitutionGroup()
Gets the in substitution group.
|
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
XBRLValidationReport |
getValidationReport()
Gets the validation report.
|
boolean |
hasChildNodes() |
void |
invalidate()
Invalidate.
|
boolean |
invalidate(XBRLValidation.Direction dir)
Invalidate.
|
boolean |
isOnValidation()
Checks if is on validation.
|
void |
setComposition(XSDComposition comp)
Sets the composition to a new XSDComposition instance.
|
XBRLValidationReport |
validate(XBRLPlugInProcessor proc)
Validate.
|
equals, getAbstract, getAttributes, getBlock, getBlock, getBlock, getChildrenType, getContentValidator, getFinal, getFinal, getFinal, getFixed, getName, getNillable, getParentDocument, getQName, getSimpleContentValidator, getSubstitutionGroup, getSubstitutionGroupHierarchy, getType, getValueKey, hashCode, isAbstract, isInSubstitutionGroup, isTotal, setAbstract, setBlock, setElementDeclaration, setFinal, setFixed, setId, setName, setNillable, setSubstitutionGroup, setType
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, 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, getFirstChildNoComment, getFragment, 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, 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, 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, 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 static final javax.xml.namespace.QName substitutionGroup
public XBRLTuple(DTSContainer dts)
dts
- the dtspublic XBRLTuple(XMLElementDefinition node)
node
- the nodepublic XBRLTuple(XBRLTaxonomy tx, java.lang.String name, javax.xml.namespace.QName sg, java.lang.Boolean _abstract, java.lang.Boolean nillable, int block, int _final, XSDComposition comp)
tx
- The parent taxonomy cannot be null.name
- tuple namesg
- substitution group_abstract
- boolean valuenillable
- boolean valueblock
- int (see XMLElementDefinition)_final
- int (see XMLElementDefinition)comp
- XSDComposition object. This is the definition of the tuple content model.public void clear() throws java.lang.Throwable
clear
in class XMLElementDefinition
java.lang.Throwable
- the throwablepublic XBRLTuple generateNode() throws XBRLSerializationException
generateNode
in class XMLElementDefinition
XBRLSerializationException
- the XBRL serialization exceptionpublic XSDComposition getComposition() throws XBRLValidationException
Remarks: If the type definition is local to the tuple (complexType is child to the tuple element declaration), then the returned XSDComposition object will be used for generating back the XML representation of the tuple content model. If the type definition is global, the returned XSDComposition represents the tuple content model but it will not be used for generating the back the XML nodes.
XBRLValidationException
- the XBRL validation exceptionpublic void setComposition(XSDComposition comp)
By calling this method the type
property is reset as if XMLElementDefinition.setType(XBRLXSDTypeDefinition)
were called with null
parameter.
comp
- the new compositionpublic java.util.Iterator<XMLFragment> getElements()
getElements
in class XMLFragment
public java.util.Collection<XBRLTuple> getInSubstitutionGroup()
getInSubstitutionGroup
in class XMLElementDefinition
public java.lang.String getFriendlyName()
getFriendlyName
in class XMLElementDefinition
public java.lang.String getFriendlyName(int modifiers, LabelsProvider lp)
getFriendlyName
in class XMLElementDefinition
modifiers
- the modifierslp
- the lppublic XBRLValidationReport getValidationReport()
getValidationReport
in interface XBRLValidation
public XBRLValidationReport validate(XBRLPlugInProcessor proc)
validate
in interface XBRLValidation
proc
- the procpublic void invalidate()
invalidate
in interface XBRLValidation
public boolean invalidate(XBRLValidation.Direction dir)
invalidate
in interface XBRLValidation
dir
- the dirpublic boolean isOnValidation()
isOnValidation
in interface XBRLValidation
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