com.ihr.xbrl.om.taxonomy
Class XBRLInclude

java.lang.Object
  extended by com.ihr.xbrl.om.XMLFragment
      extended by com.ihr.xbrl.om.taxonomy.XBRLInclude
All Implemented Interfaces:
XBRLRelationshipPoint, XMLHasParent, java.lang.Cloneable, javax.xml.namespace.NamespaceContext

public class XBRLInclude
extends XMLFragment

Author:
Ignacio

Field Summary
static javax.xml.namespace.QName includeDocNode
           
 
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
XBRLInclude(XBRLTaxonomy parent, java.lang.String schemaLocation)
          Creates an import from java code not using a s9api node
XBRLInclude(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
 XBRLTaxonomy getContent()
          Access to the [Content] property if the imported taxonomy is standard then this returns null.
 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 com.ihr.xbrl.om.XMLFragment
addAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, clone, clone, delAttribute, delAttribute, equals, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAttribute, getAttributeQNameValue, getAttributes, getAttributes, getAttributeStringValue, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getContainerDocumentURI, getDeclaredNamespaces, getDocument, getElements, getFragment, getFriendlyName, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getLang, getNamespaceURI, getNodeName, getNumberOfAttributes, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, hashCode, isDead, isNamespaceDefined, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, resetElements, resetHash, resolveHRef, resolveHRef, s_equal2, s_equal2, setAttributes, setBase, setDocument, setDocumentAndReload, setElements, setId, setLang, setNamespaceContext, setNamespaces, setNode, setNodeName, setParent, setValue, setValue, setVariablesDefined, toString, valueEquals, xEqual
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

includeDocNode

public static javax.xml.namespace.QName includeDocNode
Constructor Detail

XBRLInclude

public XBRLInclude(XBRLTaxonomy parent,
                   net.sf.saxon.s9api.XdmNode node)
Creates an import information item from a node

Parameters:
parent -
node -
Throws:
XBRLValidationException

XBRLInclude

public XBRLInclude(XBRLTaxonomy parent,
                   java.lang.String schemaLocation)
Creates an import from java code not using a s9api node

Parameters:
parent - XBRLTaxonomy parent
schemaLocation - String URI to be used. Absolute URIs are preferred relativization can be done during serialization.
Throws:
XBRLValidationException
Method Detail

clear

public void clear()
           throws java.lang.Throwable
Description copied from class: XMLFragment
Frees-up used memory

This 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.

Overrides:
clear in class XMLFragment
Throws:
java.lang.Throwable

getParent

public XBRLTaxonomy getParent()
Access to the [Parent] property

Specified by:
getParent in interface XMLHasParent
Overrides:
getParent in class XMLFragment
Returns:
XBRLTaxonomy

getSchemaLocation

public java.lang.String getSchemaLocation()
Access to the schemaLocation content of the import statement. The URI returned is absolute and resolved against the base-uri of the inport node

Returns:
String

getRawSchemaLocation

public java.lang.String getRawSchemaLocation()
Access to the schemaLocation content of the import statement. The URI returned is absolute and resolved against the base-uri of the inport node

Returns:
String

generateNode

public org.jdom.Content generateNode(boolean relativize,
                                     java.net.URI base)
                              throws XBRLSerializationException
Description copied from class: XMLFragment
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

Overrides:
generateNode in class XMLFragment
Parameters:
relativize - 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
Returns:
a clone of the surrounding jdom Element so it can be incorporated into multiple trees
Throws:
XBRLSerializationException

getContent

public XBRLTaxonomy getContent()
Access to the [Content] property if the imported taxonomy is standard then this returns null.

Returns:
XBRLTaxonomy


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa