|
||||||||||
| 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.exLinks.XLinkElement
com.ihr.xbrl.om.exLinks.XBRLPointerOfARelationship
com.ihr.xbrl.om.exLinks.XBRLResource
com.ihr.xbrl.om.exLinks.XBRLLabelResource
public class XBRLLabelResource
Label resources are the object model representation of the link:label elements in label Linkbases
| Field Summary |
|---|
| Fields inherited from class com.ihr.xbrl.om.exLinks.XBRLResource |
|---|
nullResource |
| Fields inherited from class com.ihr.xbrl.om.exLinks.XLinkElement |
|---|
actuate, ACTUATE, ARC, arcrole, ARCROLE, ETITLE, EXTENDED, from, FROM, href, HREF, label, LABEL, LOCATOR, RESOURCE, role, ROLE, show, SHOW, SIMPLE, title, TITLE, to, TO, TYPE |
| 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 | |
|---|---|
XBRLLabelResource(XBRLExtendedLink parent,
java.lang.String lang,
java.lang.String label,
XBRLRoleType role)
Applications creating a new label resource. |
|
XBRLLabelResource(XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode resNode)
Creates a new label from a node in an extended link. |
|
XBRLLabelResource(XBRLResource other)
Labels are normally created by copying another existing resource |
|
| Method Summary | |
|---|---|
java.lang.String |
getFriendlyName()
Returns a string description that represents the element content in a form that users can understand. |
java.lang.String |
getFriendlyName(int modifiers,
LabelsProvider lp)
Returns a string description that represents the element content in a form that users can understand. |
void |
validate()
Performs XBRL 2.1 validation on label resources |
| Methods inherited from class com.ihr.xbrl.om.exLinks.XBRLResource |
|---|
addChild, clear, equals, generateLocatorToNode, generateNode, getAttributes, getDTSBase, getParent, getRoleType, getType, getValueKey, hashCode, isComplexType, isSimpleType, setComplexType, setDTSBase, setId, setParent, setRole, setRoleType, setSimpleType, setValue |
| Methods inherited from class com.ihr.xbrl.om.exLinks.XLinkElement |
|---|
getActuate, getArcrole, getFromTxt, getHRef, getLabel, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setTo |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ihr.xbrl.om.exLinks.XBRLRelationshipPoint |
|---|
addFromRelationship, addToRelationship, getFromRelationships, getToRelationships, removeFromRelationship, removeToRelationship |
| Constructor Detail |
|---|
public XBRLLabelResource(XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode resNode)
parent - XBRLExtendedLink parent of this new labelresNode - XdmNode saxon node defined in saxon s9api
XBRLValidationExceptionpublic XBRLLabelResource(XBRLResource other)
other - XBRLResource
XBRLValidationException
public XBRLLabelResource(XBRLExtendedLink parent,
java.lang.String lang,
java.lang.String label,
XBRLRoleType role)
A duplicate resource is not deleted from heap. It can be used to locate the existing resource by calling getResource(res) in the dtsContainer() object.
parent - XBRLExtendedLink, parent of this new resourcelang - the language code for the new label resourcelabel - the text of the new labelrole - the role type for the new resource
XBRLDuplicateResource| Method Detail |
|---|
public void validate()
throws XBRLValidationException
XBRLValidationExceptionpublic java.lang.String getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XBRLResource
public java.lang.String getFriendlyName(int modifiers,
LabelsProvider lp)
XMLFragmentThis function accepts flags that are defined as constants in XMLFragment in order to modify the output.
getFriendlyName in class XBRLResourcemodifiers - integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||