|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XMLFragment
com.ihr.xbrl.om.taxonomy.XBRLImport
public class XBRLImport
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
importDocNode
|
| Fields inherited from class com.ihr.xbrl.om.XMLFragment |
|---|
CONCEPT_LABEL, CONCEPT_QNAME, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, idQName, NO_POSITION, OrderComparator, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static javax.xml.namespace.QName importDocNode
| Constructor Detail |
|---|
public XBRLImport(XBRLTaxonomy parent,
net.sf.saxon.s9api.XdmNode node)
parent - node -
XBRLValidationException
public 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.
XBRLValidationException| Method Detail |
|---|
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.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.
getAttributes in class XMLFragmentpublic XBRLTaxonomy getParent()
getParent in interface XMLHasParentgetParent in class XMLFragment
public org.jdom.Content generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XMLFragment
generateNode 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 relativided
XBRLSerializationExceptionpublic java.lang.String getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XMLFragment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||