|
||||||||||
| 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.XBRLArc
public class XBRLArc
| Field Summary | |
|---|---|
static com.ihr.xbrl.om.exLinks.XBRLArc.PriorityOrderComparator |
ArcPriorityOrderComparatorInstance
|
static int |
OPTIONAL
|
static int |
PROHIBITED
|
| 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, 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 | |
|---|---|
XBRLArc(DTSContainer dts,
net.sf.saxon.s9api.XdmNode node)
Creates a new arc without surrounding node |
|
XBRLArc(XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode node,
XBRLArcroleType arcroleType)
Creates a new XBRLArc with a surrounding node |
|
| Method Summary | |
|---|---|
void |
clear()
Frees-up used memory This method should not be invoqued on live objects in the DTS. |
static boolean |
compareTwoArcs(XBRLArc arc1,
XBRLArc arc2)
Compare two arcs and returns true if both are duplicates |
static boolean |
CompareTwoLocatorSets(java.util.Vector<XMLFragment> set1,
java.util.Vector<XMLFragment> set2)
|
boolean |
equals(java.lang.Object obj)
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.lang.String |
getFriendlyName()
Returns a string description that represents the element content in a form that users can understand. |
int |
getNumberOfObjectsFrom()
Returns the number of objects in the [To] property. |
int |
getNumberOfObjectsTo()
Returns the number of objects in the [From] property. |
java.util.Iterator<XMLFragment> |
getObjectsFrom()
Access to the [From relationship Information Items] property The first time the methid is called the objectsFrom Vector is created and data obtained from the DTS. |
java.util.Iterator<XMLFragment> |
getObjectsTo()
Access to the [From relationship Information Items] property |
java.lang.Double |
getOrder()
Access to the [Order] property. |
XBRLExtendedLink |
getParent()
Access to the [Parent] property. |
int |
getPriority()
|
java.util.Iterator<XBRLRelationship> |
getRelationships()
|
int |
getUse()
Access to the value of the use attribute on arcs. |
void |
removeFrom(XMLFragment ref)
|
void |
removeTo(XMLFragment ref)
|
| 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, setRole, setShow, setSType, setTitle, setTo |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final com.ihr.xbrl.om.exLinks.XBRLArc.PriorityOrderComparator ArcPriorityOrderComparatorInstance
public static final int OPTIONAL
public static final int PROHIBITED
| Constructor Detail |
|---|
public XBRLArc(XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode node,
XBRLArcroleType arcroleType)
parent - XBRLExtendedLinknode - NodeInfoarcroleType - XBRLArcroleType
XBRLValidationException
public XBRLArc(DTSContainer dts,
net.sf.saxon.s9api.XdmNode node)
throws XBRLValidationException
dts - DTSContainernode - the XdmNode to read content from
XBRLValidationException| Method Detail |
|---|
public void clear()
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 XMLFragmentpublic XBRLExtendedLink getParent()
getParent in interface XMLHasParentgetParent in class XMLFragmentpublic int getUse()
public int getPriority()
public java.lang.Double getOrder()
public java.util.Iterator<XMLFragment> getObjectsFrom()
throws XBRLValidationException
XBRLValidationException
XBRLValidationException
public int getNumberOfObjectsFrom()
throws XBRLValidationException
XBRLValidationException
public int getNumberOfObjectsTo()
throws XBRLValidationException
XBRLValidationExceptionpublic void removeFrom(XMLFragment ref)
public java.util.Iterator<XMLFragment> getObjectsTo()
throws XBRLValidationException
XBRLValidationException
XBRLValidationExceptionpublic void removeTo(XMLFragment ref)
public boolean equals(java.lang.Object obj)
XMLFragment
equals in class XMLFragment
public static boolean compareTwoArcs(XBRLArc arc1,
XBRLArc arc2)
throws XBRLValidationException
arc1 - XBRLArcarc2 - XBRLArc
XBRLValidationException
public static boolean CompareTwoLocatorSets(java.util.Vector<XMLFragment> set1,
java.util.Vector<XMLFragment> set2)
public java.util.Iterator<XBRLRelationship> getRelationships()
throws XBRLValidationException
XBRLValidationException
public org.jdom.Element generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XMLFragment
generateNode in class XLinkElementrelativize - 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 getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XMLFragment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||