|
||||||||||
| 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.instance.XBRLEntity
public class XBRLEntity
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
entityNode
|
| 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 | |
|---|---|
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)
|
|
XBRLEntity(XBRLEntity other)
|
|
| Method Summary | |
|---|---|
void |
clear()
Frees-up used memory This method should not be invoqued on live objects in the DTS. |
XBRLEntity |
clone()
|
XBRLEntity |
clone(DTSContainer newDTS)
|
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 Tthis 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)
|
void |
setScheme(java.lang.String scheme)
|
void |
setSegment(XBRLSegment segment)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final javax.xml.namespace.QName entityNode
| Constructor Detail |
|---|
public XBRLEntity(DTSContainer parent,
net.sf.saxon.s9api.XdmNode node)
public 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)
| 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 XBRLEntity clone()
clone in class XMLFragmentpublic XBRLEntity clone(DTSContainer newDTS)
clone in class XMLFragmentpublic void setScheme(java.lang.String scheme)
public void setIdentifier(java.lang.String identifier)
public void setSegment(XBRLSegment segment)
public 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)
XMLFragment
equals in class XMLFragmentpublic boolean s_equal2(java.lang.Object other)
XMLFragment
s_equal2 in class XMLFragmentother - The other node (preferably an XMLFragment) that contains a non null NodeInfo document.
public int hashCode()
hashCode in class XMLFragment
public org.jdom.Element 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 net.sf.saxon.s9api.XdmValue getValue()
XMLFragment
getValue in class XMLFragmentpublic java.util.Iterator<XMLFragment> getElements()
XMLFragment
getElements in class XMLFragment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||