public class XBRLEntity extends XMLFragment implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
entityNode
The Constant entityNode.
|
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 |
|---|
XBRLEntity(DTSContainer parent,
java.lang.String scheme,
java.lang.String identifier,
XBRLSegment segment)
Creates a new Entity to be added to a context later.
|
XBRLEntity(DTSContainer parent,
net.sf.saxon.s9api.XdmNode node)
Instantiates a new XBRL entity.
|
XBRLEntity(XBRLEntity other)
Instantiates a new XBRL entity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Frees-up used memory
This method should not be invoqued on live objects in the DTS.
|
XBRLEntity |
clone() |
XBRLEntity |
clone(DTSContainer newDTS)
Clone.
|
boolean |
equals(java.lang.Object other)
Sets a new XPathFunctionResolver for this object.
|
org.jdom.Element |
generateNode(boolean relativize,
java.net.URI base)
Serializes to a jdom Element the representation of the properties of this Information Item
This method should be called from classes derived from this class
|
java.util.Iterator<XMLFragment> |
getElements()
For complex type resources this returns an iterator with all children XML fragments
This method may be overwriten by other classes in the hierarchy.
|
java.lang.String |
getIdentifier()
Access to the identifier string on this entity.
|
net.sf.saxon.s9api.XdmNode |
getIdentifierNode()
In principle this is used only within the formula processor.
|
java.lang.String |
getScheme()
Access to the value of the Scheme on this entity.
|
XBRLSegment |
getSegment()
Access to the segment object of this entity.
|
net.sf.saxon.s9api.XdmValue |
getValue()
Returns the value of this node.
|
int |
hashCode() |
boolean |
s_equal2(java.lang.Object other)
Resolves s_equal2 comparison of this node against the other node.
|
void |
setIdentifier(java.lang.String identifier)
Sets the identifier.
|
void |
setScheme(java.lang.String scheme)
Sets the scheme.
|
void |
setSegment(XBRLSegment segment)
Sets the segment.
|
addAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, delAttribute, delAttribute, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAllAttributes, getAttribute, getAttributeBooleanValue, getAttributeQNameValue, getAttributes, getAttributes, getAttributeStringValue, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getContainerDocumentURI, getDeclaredNamespaces, getDocument, getElementsHashCode, getFragment, getFriendlyName, 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, getXPathExecutable, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, isDead, isNamespaceDefined, isXdmDocumentAttached, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, resetElements, resetHash, resolve_equal2, resolveHRef, resolveHRef, 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 static final javax.xml.namespace.QName entityNode
public XBRLEntity(DTSContainer parent, net.sf.saxon.s9api.XdmNode node)
parent - the parentnode - the nodepublic XBRLEntity(DTSContainer parent, java.lang.String scheme, java.lang.String identifier, XBRLSegment segment)
parent - - DTSContainer the DTS objectscheme - - String the scheme URI string, may be nullidentifier - - String the company name token, may be nullsegment - - XBRLSegment the content of the segment, may be nullpublic XBRLEntity(XBRLEntity other)
other - the otherpublic 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 XBRLEntity clone()
clone in class XMLFragmentpublic XBRLEntity clone(DTSContainer newDTS)
XMLFragmentclone in class XMLFragmentnewDTS - the new dtspublic void setScheme(java.lang.String scheme)
scheme - the new schemepublic void setIdentifier(java.lang.String identifier)
identifier - the new identifierpublic void setSegment(XBRLSegment segment)
segment - the new segmentpublic java.lang.String getScheme()
public java.lang.String getIdentifier()
public net.sf.saxon.s9api.XdmNode getIdentifierNode()
getIdentifier()public XBRLSegment getSegment()
public boolean equals(java.lang.Object other)
XMLFragmentequals in class XMLFragmentother - the otherpublic boolean s_equal2(java.lang.Object other)
XMLFragments_equal2 in class XMLFragmentother - The other node (preferably an XMLFragment) that contains a non null NodeInfo document.public int hashCode()
hashCode in class XMLFragmentpublic org.jdom.Element generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XMLFragmentgenerateNode in class XMLFragmentrelativize - boolean indicating if URIs should be relativized to the base URI (see next argument)base - the URI to which some attributes of this object should be relatividedXBRLSerializationException - the XBRL serialization exceptionpublic net.sf.saxon.s9api.XdmValue getValue()
XMLFragmentgetValue in class XMLFragmentpublic java.util.Iterator<XMLFragment> getElements()
XMLFragmentgetElements in class XMLFragment