public abstract class XBRLRoleAndArcroleTypes extends XMLFragment implements XBRLValidation, java.lang.Comparable<XBRLRoleAndArcroleTypes>
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>XBRLValidation.DirectionADD_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 |
|---|
XBRLRoleAndArcroleTypes(DTSContainer newDTS,
XBRLRoleAndArcroleTypes other)
Instantiates a new XBRL role and arcrole types.
|
XBRLRoleAndArcroleTypes(XBRLRoleAndArcroleTypes other)
Instantiates a new XBRL role and arcrole types.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRef(XBRLDocument doc)
Deprecated.
|
void |
addUsedOn(XBRLUsedOn on)
Adds the used on.
|
void |
clear()
Clear.
|
int |
compareTo(XBRLRoleAndArcroleTypes o)
Compare to.
|
boolean |
equals(java.lang.Object other)
Equals.
|
XBRLRoleAndArcroleTypes |
generateNode()
Generate node.
|
java.lang.Integer |
getCode()
Role types and arcroleTypes are stored in the DTS and a code
is assigned to it.
|
java.lang.String |
getDefinition()
Access to the [Definition] property.
|
java.util.Iterator<XMLFragment> |
getElements()
Gets the elements.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
java.lang.String |
getFriendlyName(int modifiers,
LabelsProvider lp)
Gets the friendly name.
|
java.net.URI |
getHRefURI()
Creates a URI pointing to the roleType or arcroleType .
|
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
XBRLTaxonomy |
getParentDocument()
access to the [Parent] property.
|
java.lang.String |
getRoleAndArcroleURI()
Access to the [Role URI]/[Arcrole URI] property.
|
java.util.Iterator<XBRLUsedOn> |
getUsedOn()
Gets the used on.
|
XBRLValidationReport |
getValidationReport()
Gets the validation report.
|
boolean |
hasChildNodes() |
int |
hashCode()
Hash code.
|
void |
invalidate()
Invalidate.
|
boolean |
invalidate(XBRLValidation.Direction dir)
Invalidate.
|
boolean |
isOnValidation()
Checks if is on validation.
|
boolean |
isStatic()
Returns true for role types and arcrole types defined in the XBRL 2.1 specification
|
boolean |
isUsedOn(javax.xml.namespace.QName here)
returns true if the element represented by the QName can legally use this XBRLRoleType
This method considers roles defined in the XBRL 2.1 specification, virtual roles undefined in the
DTS and used in generic linkbases and roles properly defined in XBRL linkbases
|
boolean |
isVirtual()
Returns true for role types not referenced using roleRef elements or arcrole type not referenced via
arcroleRef elements but valid because they are used within custom extended linkbases.
|
void |
removeUsedOn(XBRLUsedOn on)
Removes the used on.
|
boolean |
sameUsedOn(XBRLRoleAndArcroleTypes o)
Same used on.
|
void |
setCode(java.lang.Integer newCode)
This method is required to change the code of a role or arcrole that has been
loaded in a compatible DTSContainer to the container from which the role or
arcrole was created.
|
void |
setDefinition(java.lang.String newValue)
Sets the definition string for a role and arcrole types.
|
void |
setId(java.lang.String id)
Sets the id.
|
boolean |
setRawParentXBRL(XMLFragment newParent)
Changes the [Parent] property.
|
void |
setRoleAndArcroleURI(java.lang.String newURI)
Sets or changes the URI of this role type.
|
void |
setStatic(boolean newValue)
Used by the API when a static role or arcrole URI is defined.
|
void |
setVirtual(boolean newValue)
Used by the API when a virtual role or arcrole URI is defined.
|
XBRLValidationReport |
validate(XBRLPlugInProcessor proc)
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, clone, clone, 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, 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, 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, toString, valueEquals, xEqualaddAttribute, 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, setTypeAnnotationatomize, 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, replacepublic XBRLRoleAndArcroleTypes(XBRLRoleAndArcroleTypes other)
other - the otherpublic XBRLRoleAndArcroleTypes(DTSContainer newDTS, XBRLRoleAndArcroleTypes other)
newDTS - the new dtsother - the otherpublic XBRLRoleAndArcroleTypes generateNode() throws XBRLSerializationException
generateNode in class XMLFragmentXBRLSerializationException - the XBRL serialization exceptionpublic java.lang.String getDefinition()
public void setDefinition(java.lang.String newValue)
newValue - the new definitionpublic XBRLTaxonomy getParentDocument()
getParentDocument in class XMLFragmentpublic void setId(java.lang.String id)
throws XBRLInconsistentDTSException
setId in class XMLFragmentid - the new idXBRLInconsistentDTSException - the XBRL inconsistent DTS exceptionpublic boolean setRawParentXBRL(XMLFragment newParent)
setRawParentXBRL in class XMLFragmentnewParent - the new parentpublic java.lang.Integer getCode()
public void setCode(java.lang.Integer newCode)
newCode - the new codepublic java.util.Iterator<XBRLUsedOn> getUsedOn()
public void addUsedOn(XBRLUsedOn on)
on - the onpublic void removeUsedOn(XBRLUsedOn on)
on - the onpublic boolean isUsedOn(javax.xml.namespace.QName here)
This method considers roles defined in the XBRL 2.1 specification, virtual roles undefined in the DTS and used in generic linkbases and roles properly defined in XBRL linkbases
here - the node element to check forpublic boolean isStatic()
public boolean isVirtual()
public void setStatic(boolean newValue)
newValue - the new staticpublic void setVirtual(boolean newValue)
newValue - the new virtualpublic java.lang.String getRoleAndArcroleURI()
public void setRoleAndArcroleURI(java.lang.String newURI)
newURI - the new uripublic boolean equals(java.lang.Object other)
equals in interface net.sf.saxon.om.NodeInfoequals in class XMLFragmentother - the otherpublic int hashCode()
hashCode in interface net.sf.saxon.om.NodeInfohashCode in class XMLFragmentpublic boolean sameUsedOn(XBRLRoleAndArcroleTypes o)
o - the opublic java.net.URI getHRefURI()
@Deprecated public void addRef(XBRLDocument doc)
doc - the docpublic java.util.Iterator<XMLFragment> getElements()
getElements in class XMLFragmentpublic java.lang.String getFriendlyName(int modifiers,
LabelsProvider lp)
getFriendlyName in class XMLFragmentmodifiers - the modifierslp - the lppublic XBRLValidationReport getValidationReport()
getValidationReport in interface XBRLValidationpublic void invalidate()
invalidate in interface XBRLValidationpublic boolean invalidate(XBRLValidation.Direction dir)
invalidate in interface XBRLValidationdir - the dirpublic XBRLValidationReport validate(XBRLPlugInProcessor proc)
validate in interface XBRLValidationproc - the procpublic boolean isOnValidation()
isOnValidation in interface XBRLValidationpublic int compareTo(XBRLRoleAndArcroleTypes o)
compareTo in interface java.lang.Comparable<XBRLRoleAndArcroleTypes>o - the opublic void clear()
throws java.lang.Throwable
clear in class XMLFragmentjava.lang.Throwable - the throwablepublic final boolean hasChildNodes()
hasChildNodes in interface net.sf.saxon.om.NodeInfohasChildNodes in class net.sf.saxon.tree.linked.NodeImplpublic 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.NodeImplpublic final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild in class net.sf.saxon.tree.linked.NodeImplCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa