|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArcroleType
The arcroleType element is the element containing the definition of custom arc role types.
The arcroleType element describes the custom arc role type by declaring the arc role value, declaring the elements that the arc role type may be used on, declaring the type of cycles that are allowed for a network of arcs using the arc role type, and providing a human-readable definition of the meaning of the arc role type.
Arc role values occur on [XLINK] arcs as the value of the xlink:arcrole attribute. Arc role values MUST be either a standard arc role value defined by this specification or be a custom arc role type. Custom arc role types MUST be defined using the arcroleType element. The arcroleType element MUST be located at the [XPATH] path “schema/annotation/appinfo”. The arc role values defined by this specification MUST NOT be redefined using the arcroleType element.
There MUST NOT be more than one arcroleType element with the same arcroleURI attribute value within a taxonomy schema. Within a DTS, there MAY be more than one arcroleType element with the same arcroleURI attribute value. However, all arcroleType elements with the same arcroleURI attribute value MUST be s-equal.
The value of the xlink:arcrole attribute MUST be a URI. For the definitionArc, calculationArc, presentationArc, labelArc, referenceArc and footnoteArc the value of the xlink:arcrole attribute MUST be either a standard arc role value defined by this specification or a custom arc role value. The value of the arcroleURI identifies the xlink:arcrole attribute value that is being defined. The values of the usedOn sub-elements identify which arcs may use this arc role type. Because arcroleType elements are pointed to via an arcroleRef element in linkbases that use the custom arc role value, the arcroleType element MAY have an id attribute.
Copyright 2006 J2R BV, The Netherlands.
Part of Licensed Materials.
www.batavia-xbrl.com
| Method Summary | |
|---|---|
void |
addDefinition(Definition definition)
Add the Definition child for this ArcroleType. |
void |
addUsedOn(UsedOn aPart)
Add the UsedOn to the collection of usedon elements for this ArcroleType |
XmlAttribute |
getArcroleUri()
|
XmlAttribute |
getCyclesAllowed()
|
Definition |
getDefinition()
Get the Definition for this ArcroleType. |
XmlAttribute |
getId()
|
java.util.List |
getUsedOnElements()
Get the collection of usedon elements for this ArcroleType |
void |
removeUsedOn(UsedOn aPart)
Remove the UsedOn from the collection of usedon elements for this ArcroleType |
void |
setArcroleUri(XmlAttribute arcroleUri)
|
void |
setCyclesAllowed(XmlAttribute cyclesAllowed)
|
void |
setId(XmlAttribute id)
|
| Methods inherited from interface com.batavia.xbrl.taxonomy.TaxonomyElement |
|---|
getRoot, hasDecendantsWithAttribute, hasUnknownDecendants |
| Methods inherited from interface com.batavia.xbrl.XbrlElement |
|---|
addChild, fromXbrl, getMyDiscoverableTaxonomySet, getXbrlElementNameSpace, removeChild, toXbrlStream, toXbrlString |
| Methods inherited from interface com.batavia.xml.XmlParticle |
|---|
destroy, getBaseUri, getParent, getPrefix, getTargetNameSpace, isBoolean, isNumber, p_equal, resolveNamespacePrefix, setParent, toXstring |
| Methods inherited from interface com.batavia.xml.ComparablePart |
|---|
c_equal, identical, s_equal, u_equal, v_equal, x_equal |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.relaxng.datatype.ValidationContext |
|---|
isNotation, isUnparsedEntity |
| Methods inherited from interface com.batavia.xml.IdKeeper |
|---|
addIdHolder, getHolder, removeIdHolder |
| Method Detail |
|---|
Definition getDefinition()
void addDefinition(Definition definition)
java.util.List getUsedOnElements()
void addUsedOn(UsedOn aPart)
aPart - void removeUsedOn(UsedOn aPart)
aPart - XmlAttribute getArcroleUri()
void setArcroleUri(XmlAttribute arcroleUri)
arcroleUri - The arcroleUri to set.XmlAttribute getCyclesAllowed()
void setCyclesAllowed(XmlAttribute cyclesAllowed)
cyclesAllowed - The cyclesAllowed to set.XmlAttribute getId()
getId in interface IdHoldervoid setId(XmlAttribute id)
id - The id to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||