public class XBRLArcroleType extends XBRLRoleAndArcroleTypes implements java.io.Serializable
An arcrole type definition can be of 3 types:
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
XBRLValidation.Direction
Modifier and Type | Field and Description |
---|---|
static int |
ANY
ANY cycle is allowed (bitmap), DIRECTED and UNDIRECTED
|
static javax.xml.namespace.QName |
arcroleAttribute
The Constant arcroleAttribute.
|
static javax.xml.namespace.QName |
arcroleTypeQName
The Constant arcroleTypeQName.
|
static javax.xml.namespace.QName |
cyclesAllowedAttribute
The Constant cyclesAllowedAttribute.
|
static int |
NONE
NONE (no) cycles are allowed, this includes DIRECTED and UNDIRECTED cycles detection.
|
static net.sf.saxon.om.StructuredQName |
sqnArcroleTypeQName
The Constant sqnArcroleTypeQName.
|
static XBRLArcroleType |
STANDARD_CONCEPT_LABEL
The standard concept label.
|
static XBRLArcroleType |
STANDARD_CONCEPT_REFERENCE
The standard concept reference.
|
static XBRLArcroleType |
STANDARD_ESSENCE_ALIAS
The standard essence alias.
|
static XBRLArcroleType |
STANDARD_FACT_FOOTNOTE
Static arcroles.
|
static XBRLArcroleType |
STANDARD_GENERAL_SPECIAL
The standard general special.
|
static XBRLArcroleType |
STANDARD_PARENT_CHILD
The standard parent child.
|
static XBRLArcroleType |
STANDARD_REQUIRES_ELEMENT
The standard requires element.
|
static XBRLArcroleType |
STANDARD_SIMILAR_TUPLES
The standard similar tuples.
|
static XBRLArcroleType |
STANDARD_SUMMATION_ITEM
The standard summation item.
|
static int |
UNDIRECTED
UNDIRECTED cycles are allowed (bitmap).
|
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 |
---|
XBRLArcroleType(DTSContainer dts,
boolean virtual)
Used to create virtual arcrole types.
|
XBRLArcroleType(DTSContainer dts,
java.lang.String uri,
int cyclesAllowed)
Creates a new XBRLArcroleType for the specific values of the uri and cyclesAllowed.
|
XBRLArcroleType(DTSContainer newDTS,
XBRLArcroleType other)
Instantiates a new XBRL arcrole type.
|
XBRLArcroleType(XMLFragment node)
Creates a new XBRLArcroleType object from a node in a file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addUse(XBRLRelationship rel)
Adds the use.
|
void |
clear()
Frees-up the memory used by this object.
|
XBRLArcroleType |
clone()
Clone.
|
XBRLArcroleType |
clone(DTSContainer dts)
Clone.
|
boolean |
delUse(XBRLRelationship rel)
Del use.
|
boolean |
equals(java.lang.Object other)
Equals.
|
XBRLArcroleType |
generateNode()
Generate node.
|
XBRLArcroleRef |
getArcroleRef(DTSContainer dts)
Creates an XBRLArcroleRef object that points to this arcroleRef and
that can be serialized.
|
int |
getCyclesAllowed()
Returns an integer constant according to the value of the cyclesAllowed
attribute on the arcrole type definition.
|
static java.lang.String |
getCyclesAllowed(int code)
Gets the cycles allowed.
|
static java.lang.Integer |
getCyclesAllowed(java.lang.String code)
Gets the cycles allowed.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
java.lang.String |
getFriendlyName()
Gets the friendly name.
|
java.lang.String |
getFriendlyName(int modifiers)
Gets the friendly name.
|
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
java.util.Iterator<XBRLRelationship> |
getUses()
Access to the [arcrole uses] property
The returned objects in the iterator are instances of
XBRLRelationship elements.
|
boolean |
hasChildNodes() |
int |
hashCode()
Hash code.
|
static XBRLArcroleType |
make(DTSContainer dts)
Make.
|
void |
setCyclesAllowed(int cyclesAllowedCode)
Sets the cycles allowed.
|
void |
setCyclesAllowed(java.lang.String cyclesAllowedValue)
Sets the cycles allowed.
|
java.lang.String |
toString()
To string.
|
addRef, addUsedOn, compareTo, getCode, getDefinition, getElements, getFriendlyName, getHRefURI, getParentDocument, getRoleAndArcroleURI, getUsedOn, getValidationReport, invalidate, invalidate, isOnValidation, isStatic, isUsedOn, isVirtual, removeUsedOn, sameUsedOn, setCode, setDefinition, setId, setRawParentXBRL, setRoleAndArcroleURI, setStatic, setVirtual, validate
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, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, 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, 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, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, 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 arcroleTypeQName
public static final net.sf.saxon.om.StructuredQName sqnArcroleTypeQName
public static final javax.xml.namespace.QName arcroleAttribute
public static final javax.xml.namespace.QName cyclesAllowedAttribute
public static final int ANY
public static final int UNDIRECTED
public static final int NONE
public static final XBRLArcroleType STANDARD_FACT_FOOTNOTE
public static final XBRLArcroleType STANDARD_CONCEPT_LABEL
public static final XBRLArcroleType STANDARD_CONCEPT_REFERENCE
public static final XBRLArcroleType STANDARD_PARENT_CHILD
public static final XBRLArcroleType STANDARD_SUMMATION_ITEM
public static final XBRLArcroleType STANDARD_GENERAL_SPECIAL
public static final XBRLArcroleType STANDARD_ESSENCE_ALIAS
public static final XBRLArcroleType STANDARD_SIMILAR_TUPLES
public static final XBRLArcroleType STANDARD_REQUIRES_ELEMENT
public XBRLArcroleType(XMLFragment node) throws XBRLValidationException
node
- the nodeXBRLValidationException
- the XBRL validation exceptionpublic XBRLArcroleType(DTSContainer dts, java.lang.String uri, int cyclesAllowed)
dts
- the dtsuri
- the uricyclesAllowed
- the cycles allowedpublic XBRLArcroleType(DTSContainer newDTS, XBRLArcroleType other)
newDTS
- the new dtsother
- the otherpublic XBRLArcroleType(DTSContainer dts, boolean virtual)
dts
- the dtsvirtual
- the virtualpublic static XBRLArcroleType make(DTSContainer dts)
dts
- the dtspublic XBRLArcroleType clone()
clone
in class XMLFragment
public XBRLArcroleType clone(DTSContainer dts)
clone
in class XMLFragment
dts
- the dtspublic boolean addUse(XBRLRelationship rel)
rel
- the herepublic boolean delUse(XBRLRelationship rel)
rel
- the relpublic java.util.Iterator<XBRLRelationship> getUses()
public int getCyclesAllowed()
public void setCyclesAllowed(java.lang.String cyclesAllowedValue)
cyclesAllowedValue
- the new cycles allowedpublic void setCyclesAllowed(int cyclesAllowedCode)
cyclesAllowedCode
- the new cycles allowedpublic static java.lang.String getCyclesAllowed(int code)
code
- the codepublic static java.lang.Integer getCyclesAllowed(java.lang.String code)
code
- the codepublic java.lang.String toString()
toString
in class XMLFragment
public boolean equals(java.lang.Object other)
equals
in interface net.sf.saxon.om.NodeInfo
equals
in class XBRLRoleAndArcroleTypes
other
- the otherpublic int hashCode()
hashCode
in interface net.sf.saxon.om.NodeInfo
hashCode
in class XBRLRoleAndArcroleTypes
public XBRLArcroleRef getArcroleRef(DTSContainer dts)
dts
- the dtspublic void clear() throws java.lang.Throwable
clear
in class XBRLRoleAndArcroleTypes
java.lang.Throwable
- the throwablepublic XBRLArcroleType generateNode() throws XBRLSerializationException
generateNode
in class XBRLRoleAndArcroleTypes
XBRLSerializationException
- the XBRL serialization exceptionpublic java.lang.String getFriendlyName()
getFriendlyName
in class XMLFragment
public java.lang.String getFriendlyName(int modifiers)
getFriendlyName
in class XMLFragment
modifiers
- the modifierspublic 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