|
||||||||||
| 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.XBRLRoleAndArcroleTypes
public abstract class XBRLRoleAndArcroleTypes
| Field Summary |
|---|
| 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 | |
|---|---|
XBRLRoleAndArcroleTypes(DTSContainer newDTS,
XBRLRoleAndArcroleTypes other)
|
|
XBRLRoleAndArcroleTypes(XBRLRoleAndArcroleTypes other)
|
|
| Method Summary | |
|---|---|
void |
addRef(XBRLDocument doc)
When a role or arcrole is referenced via roleRef its is annotated here |
void |
addUsedOn(XBRLUsedOn on)
|
boolean |
equals(java.lang.Object other)
Sets a new XPathFunctionResolver for this object |
XBRLLocator |
generateLocatorToNode(boolean relativize,
java.net.URI base)
Generates an XBRLLocator object pointing to this node |
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.lang.String |
getDefinition()
Access to the [Definition] property. |
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.net.URI |
getHRefURI()
Creates a URI pointing to the roleType or arcroleType |
XBRLTaxonomy |
getParent()
access to the [Parent] property. |
java.lang.String |
getURI()
Access to the [Role URI]/[Arcrole URI] property |
java.util.Iterator<XBRLUsedOn> |
getUsedOn()
|
int |
hashCode()
|
boolean |
isStatic()
|
boolean |
isUsedOn(javax.xml.namespace.QName here)
returns true if the element represented by the QName can legally use this XBRLRoleType This method considers roles defined in the XBRL 2.1 specification, virtual roles undefined in the DTS and used in generic linkbases and roles properly defined in XBRL linkbases |
boolean |
isVirtual()
|
void |
removeUsedOn(XBRLUsedOn on)
|
boolean |
sameUsedOn(XBRLRoleAndArcroleTypes o)
|
void |
setDefinition(java.lang.String newValue)
Sets the definition string for a role and arcrole types. |
void |
setId(java.lang.String id)
Sets the content of the id attribute of this element the ID MUST not have any space, but null is allowed and removes an id from an XML Fragment. |
void |
setParent(XBRLTaxonomy newParent)
Changes the [Parent] property. |
void |
setStatic(boolean newValue)
|
void |
setURI(java.lang.String newURI)
Sets or changes the URI of this role type. |
void |
setVirtual(boolean newValue)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLRoleAndArcroleTypes(XBRLRoleAndArcroleTypes other)
public XBRLRoleAndArcroleTypes(DTSContainer newDTS,
XBRLRoleAndArcroleTypes other)
| Method Detail |
|---|
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 java.lang.String getDefinition()
public void setDefinition(java.lang.String newValue)
newValue - public XBRLTaxonomy getParent()
getParent in interface XMLHasParentgetParent in class XMLFragment
public void setId(java.lang.String id)
throws XBRLInconsistentDTSException
XMLFragment
setId in class XMLFragmentid - the new ID
XBRLInconsistentDTSException - if the id is not lexicographically validpublic void setParent(XBRLTaxonomy newParent)
newParent -
XBRLValidationExceptionpublic java.util.Iterator<XBRLUsedOn> getUsedOn()
public void addUsedOn(XBRLUsedOn on)
on - public void removeUsedOn(XBRLUsedOn on)
on - public boolean isUsedOn(javax.xml.namespace.QName here)
This method considers roles defined in the XBRL 2.1 specification, virtual roles undefined in the DTS and used in generic linkbases and roles properly defined in XBRL linkbases
here - the node element to check for
public boolean isStatic()
public boolean isVirtual()
public void setStatic(boolean newValue)
public void setVirtual(boolean newValue)
public java.lang.String getURI()
public void setURI(java.lang.String newURI)
newURI - public boolean equals(java.lang.Object other)
XMLFragment
equals in class XMLFragmentpublic int hashCode()
hashCode in class XMLFragmentpublic boolean sameUsedOn(XBRLRoleAndArcroleTypes o)
public java.net.URI getHRefURI()
XBRLValidationException - if duplicade ids were foundpublic void addRef(XBRLDocument doc)
doc - public java.util.Iterator<XMLFragment> getElements()
XMLFragment
getElements in class XMLFragment
public XBRLLocator generateLocatorToNode(boolean relativize,
java.net.URI base)
throws java.net.URISyntaxException
relativize - base -
java.net.URISyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||