public class XBRLArc extends XLinkElement implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static com.ihr.xbrl.om.exLinks.XBRLArc.PriorityOrderComparator |
ArcPriorityOrderComparatorInstance
The Constant ArcPriorityOrderComparatorInstance.
|
static int |
OPTIONAL
The Constant OPTIONAL.
|
static int |
PROHIBITED
The Constant PROHIBITED.
|
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, TYPECONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, HIDE_COMMON_ACCURACY, idQName, NO_POSITION, OrderComparator, OrderComparator2, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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)
Compare two locator sets.
|
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()
Gets the priority.
|
java.util.Iterator<XBRLRelationship> |
getRelationships()
Gets the relationships.
|
int |
getUse()
Access to the value of the use attribute on arcs.
|
void |
removeFrom(XMLFragment ref)
Removes the from.
|
void |
removeTo(XMLFragment ref)
Removes the to.
|
getActuate, getArcrole, getFromTxt, getHRef, getLabel, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setRole, setShow, setSType, setTitle, setToaddAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, clone, clone, delAttribute, delAttribute, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAllAttributes, getAttribute, getAttributeBooleanValue, getAttributeQNameValue, getAttributes, getAttributes, getAttributeStringValue, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getContainerDocumentURI, getDeclaredNamespaces, getDocument, getElements, getElementsHashCode, getFragment, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getGenericLabelText, getId, getLang, getNamespaceURI, getNodeName, getNumberOfAttributes, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticContext, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathExecutable, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, hashCode, isDead, isNamespaceDefined, isXdmDocumentAttached, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, resetElements, resetHash, resolve_equal2, resolveHRef, resolveHRef, s_equal2, s_equal2, s_equal2, setAttributes, setBase, setDocument, setDocumentAndReload, setElements, setId, setLang, setNamespaceContext, setNamespaces, setNode, setNodeName, setParent, setRegenerateNodeIfnotFound, setValue, setValue, setVariablesDefined, size, thin, toString, valueEquals, xEqualpublic static final com.ihr.xbrl.om.exLinks.XBRLArc.PriorityOrderComparator ArcPriorityOrderComparatorInstance
public static final int OPTIONAL
public static final int PROHIBITED
public XBRLArc(XBRLExtendedLink parent, net.sf.saxon.s9api.XdmNode node, XBRLArcroleType arcroleType)
parent - XBRLExtendedLinknode - NodeInfoarcroleType - XBRLArcroleTypepublic XBRLArc(DTSContainer dts, net.sf.saxon.s9api.XdmNode node) throws XBRLValidationException
dts - DTSContainernode - the XdmNode to read content fromXBRLValidationException - the XBRL validation exceptionpublic 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 - the XBRL validation exceptionpublic int getNumberOfObjectsFrom()
throws XBRLValidationException
XBRLValidationExceptionpublic int getNumberOfObjectsTo()
throws XBRLValidationException
XBRLValidationException - the XBRL validation exceptionpublic void removeFrom(XMLFragment ref)
ref - the refpublic java.util.Iterator<XMLFragment> getObjectsTo() throws XBRLValidationException
XBRLValidationException - the XBRL validation exceptionpublic void removeTo(XMLFragment ref)
ref - the refpublic boolean equals(java.lang.Object obj)
XMLFragmentequals in class XMLFragmentobj - the otherpublic static boolean compareTwoArcs(XBRLArc arc1, XBRLArc arc2) throws XBRLValidationException
arc1 - XBRLArcarc2 - XBRLArcXBRLValidationException - the XBRL validation exceptionpublic static boolean CompareTwoLocatorSets(java.util.Vector<XMLFragment> set1, java.util.Vector<XMLFragment> set2)
set1 - the set1set2 - the set2public java.util.Iterator<XBRLRelationship> getRelationships() throws XBRLValidationException
XBRLValidationException - the XBRL validation exceptionpublic org.jdom.Element generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XMLFragmentgenerateNode 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 relatividedXBRLSerializationException - the XBRL serialization exceptionpublic java.lang.String getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XMLFragment