public class XBRLAttribute extends XMLFragment implements java.lang.Cloneable
CONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, HIDE_COMMON_ACCURACY, idQName, NO_POSITION, OrderComparator, OrderComparator2, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER| Constructor and Description |
|---|
XBRLAttribute(DTSContainer dts,
org.jdom.Attribute jdomAttribute)
Creates an attribute node. it will not be linked to its parent node.
|
XBRLAttribute(DTSContainer dts,
javax.xml.namespace.QName nodeName,
net.sf.saxon.value.AtomicValue value)
Creates an attribute node.
|
XBRLAttribute(DTSContainer dts,
net.sf.saxon.s9api.XdmNode node)
Creates an XBRL attribute.
|
XBRLAttribute(XBRLAttribute other)
Creates a new XBRLAttribute that is a clone of this attribute
The parent of the new attribute will be set to null.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addXMLChild(XMLHasParent newChild)
Adds the xml child.
|
void |
clear()
Frees-up used memory
This method should not be invoqued on live objects in the DTS.
|
XBRLAttribute |
clone() |
boolean |
equals(java.lang.Object other)
Compare two attributes for equality
Parent is not considered in equality just the node name and the values.
|
org.jdom.Attribute |
generateAttributeNode(org.jdom.Element el)
The element el in which the namespace will be defined for QName type attributes.
|
java.lang.String |
getFriendlyName()
Returns a string description that represents the element content in a form
that users can understand.
|
int |
hashCode() |
void |
removeXMLChild(XMLHasParent child)
Removes the xml child.
|
addAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, changeBase, checkBase, clone, delAttribute, delAttribute, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNode, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAllAttributes, getAttribute, getAttributeBooleanValue, getAttributeQNameValue, getAttributes, getAttributes, getAttributeStringValue, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getContainerDocumentURI, getDeclaredNamespaces, getDocument, getElements, getElementsHashCode, getFragment, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getGenericLabelText, getId, getLang, getNamespaceURI, getNodeName, getNumberOfAttributes, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParent, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticContext, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathExecutable, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, isDead, isNamespaceDefined, isXdmDocumentAttached, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, resetElements, resetHash, resolve_equal2, resolveHRef, resolveHRef, s_equal2, s_equal2, s_equal2, setAttributes, setBase, setDocument, setDocumentAndReload, setElements, setId, setLang, setNamespaceContext, setNamespaces, setNode, setNodeName, setParent, setRegenerateNodeIfnotFound, setValue, setValue, setVariablesDefined, size, thin, toString, valueEquals, xEqualpublic XBRLAttribute(DTSContainer dts, net.sf.saxon.s9api.XdmNode node)
dts - DTSContainernode - NodeInfopublic XBRLAttribute(XBRLAttribute other)
other - the otherpublic XBRLAttribute(DTSContainer dts, javax.xml.namespace.QName nodeName, net.sf.saxon.value.AtomicValue value)
dts - DTSContainernodeName - QNamevalue - Valuepublic XBRLAttribute(DTSContainer dts, org.jdom.Attribute jdomAttribute)
dts - DTSContainerjdomAttribute - Attributepublic void clear()
throws java.lang.Throwable
XMLFragmentThis method should not be invoqued on live objects in the DTS. It is automatically invoqued by the API when an object is no longer used and referenced by other objects. It is save not to call it directly.
clear in class XMLFragmentjava.lang.Throwable - the throwablepublic void addXMLChild(XMLHasParent newChild)
XMLHasParentaddXMLChild in interface XMLHasParentaddXMLChild in class XMLFragmentnewChild - the childpublic void removeXMLChild(XMLHasParent child)
XMLHasParentremoveXMLChild in interface XMLHasParentremoveXMLChild in class XMLFragmentchild - the childpublic XBRLAttribute clone()
clone in class XMLFragmentpublic int hashCode()
hashCode in class XMLFragmentpublic org.jdom.Attribute generateAttributeNode(org.jdom.Element el)
el - the elpublic boolean equals(java.lang.Object other)
equals in class XMLFragmentother - the otherpublic java.lang.String getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XMLFragment