public class XBRLImport extends XMLFragment
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
importDocNode
The import doc node.
|
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 |
|---|
XBRLImport(XBRLTaxonomy parent,
java.lang.String namespace,
java.lang.String schemaLocation)
Creates an import from java code not using a s9api node.
|
XBRLImport(XBRLTaxonomy parent,
net.sf.saxon.s9api.XdmNode node)
Creates an import information item from a node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Frees-up used memory
This method should not be invoqued on live objects in the DTS.
|
org.jdom.Content |
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<XBRLAttribute> |
getAttributes()
Access to attributes defined in this node.
|
XBRLTaxonomy |
getContent()
Access to the [Content] property
if the imported taxonomy is standard then this returns null.
|
java.lang.String |
getFriendlyName()
Returns a string description that represents the element content in a form
that users can understand.
|
java.lang.String |
getNamespace()
Access to the imported namespace.
|
XBRLTaxonomy |
getParent()
Access to the [Parent] property.
|
java.lang.String |
getRawSchemaLocation()
Access to the schemaLocation content of the import statement.
|
java.lang.String |
getSchemaLocation()
Access to the schemaLocation content of the import statement.
|
addAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, clone, clone, delAttribute, delAttribute, equals, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAllAttributes, getAttribute, getAttributeBooleanValue, getAttributeQNameValue, 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, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticContext, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathExecutable, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, hashCode, isDead, isNamespaceDefined, isXdmDocumentAttached, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, 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 static javax.xml.namespace.QName importDocNode
public XBRLImport(XBRLTaxonomy parent, net.sf.saxon.s9api.XdmNode node)
parent - the parentnode - the nodepublic XBRLImport(XBRLTaxonomy parent, java.lang.String namespace, java.lang.String schemaLocation)
parent - XBRLTaxonomy parentnamespace - StringschemaLocation - String URI to be used. Absolute URIs are preferred relativization can be done during serialization.public 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 java.lang.String getNamespace()
public java.lang.String getSchemaLocation()
public java.lang.String getRawSchemaLocation()
public XBRLTaxonomy getContent()
public java.util.Iterator<XBRLAttribute> getAttributes()
XMLFragmentThe id attribute is skiped as there is a specific method to access to it and set a value.
This method is overriten by super classes and shall add additional filters to exclude other attributes that belongs to the superclass
getAttributes in class XMLFragmentXMLFragment.getAllAttributes()public XBRLTaxonomy getParent()
getParent in interface XMLHasParentgetParent in class XMLFragmentpublic org.jdom.Content 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 java.lang.String getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XMLFragment