|
XBRLAPIA Java API for XBRL |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbrlapi.impl.XMLImpl
org.xbrlapi.impl.FragmentImpl
org.xbrlapi.impl.ExtendedLinkContentImpl
org.xbrlapi.impl.ArcImpl
public class ArcImpl
Used for all extended link arcs.
| Field Summary |
|---|
| Fields inherited from class org.xbrlapi.impl.XMLImpl |
|---|
logger |
| Constructor Summary | |
|---|---|
ArcImpl()
|
|
| Method Summary | ||
|---|---|---|
String |
getActuate()
Get the xlink:actuate attribute value. |
|
URI |
getArcrole()
|
|
String |
getAttribute(String name)
Get a no-namespace attribute value. |
|
String |
getAttribute(URI namespace,
String name)
Get a non-xlink attribute value. |
|
ExtendedLink |
getExtendedLink()
Get the extended link containing the extended link xlink content. |
|
String |
getFrom()
Get the xlink:from attribute value. |
|
Double |
getOrder()
Get the order attribute value. |
|
URI |
getPreferredLabelRole()
This method is useful in the context of parent-child presentation relationships as defined in the XBRL 2.1 specification. |
|
Integer |
getPriority()
|
|
NamedNodeMap |
getSemanticAttributes()
TODO Add in PSVI information re default and fixed attribute values. |
|
String |
getSemanticKey()
|
|
String |
getShow()
Get the xlink:show attribute value. |
|
|
getSourceFragments()
Get the list of ArcEnd fragments that the arc runs from. |
|
protected URI |
getTargetDocumentURI(URI uri)
Get the URI of the document containing the fragment targetted by the supplied URI. |
|
|
getTargetFragments()
Get the list of ArcEnd fragments that the arc runs to. |
|
protected String |
getTargetPointerValue(String pointer)
Get the value of the XPointer that corresponds to the XPointer information stored in the metadata of all fragments. |
|
String |
getTitleAttribute()
Get the title (The xlink:title attribute value). |
|
Title |
getTitleElement(int index)
Get a specific title fragment |
|
List<Title> |
getTitleElements()
Get a list of titles (The xlink:title children elements). |
|
String |
getTo()
Get the xlink:to attribute value. |
|
String |
getUse()
|
|
Double |
getWeight()
This method is useful in the context of summation-item calculation relationships as defined in the XBRL 2.1 specification. |
|
String |
getXlinkType()
Get the xlink type (The xxlink:type attribute value). |
|
boolean |
hasAttribute(String name)
|
|
boolean |
hasAttribute(String namespace,
String name)
|
|
boolean |
isProhibited()
|
|
boolean |
semanticEquals(Arc other)
Returns true if this arc is semantically equal to the other arc. |
|
| Methods inherited from class org.xbrlapi.impl.XMLImpl |
|---|
appendMetadataElement, compareTo, equals, finalize, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xbrlapi.Xlink |
|---|
getTitleAttribute, getTitleElement, getTitleElements, getXlinkType |
| Methods inherited from interface org.xbrlapi.XML |
|---|
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public ArcImpl()
| Method Detail |
|---|
public String getAttribute(URI namespace,
String name)
throws XBRLException
Xlink
getAttribute in interface ArcgetAttribute in interface Xlinknamespace - The namespace of the attribute to retrievename - The local name of the attribute to retrieve
XBRLException - if the namespace URI is for the XLink namespace.Arc.getAttribute(URI,String)
public boolean hasAttribute(String namespace,
String name)
throws XBRLException
hasAttribute in interface Arcnamespace - The namespace of the attributename - The local name of the attribute
XBRLExceptionArc.hasAttribute(String,String)
public String getAttribute(String name)
throws XBRLException
Xlink
getAttribute in interface ArcgetAttribute in interface Xlinkname - The name of the no-namespace attribute to retrieve
XBRLExceptionArc.getAttribute(String)
public boolean hasAttribute(String name)
throws XBRLException
hasAttribute in interface Arcname - The name of the attribute
XBRLExceptionArc.hasAttribute(String)
public ExtendedLink getExtendedLink()
throws XBRLException
ExtendedLinkContent
getExtendedLink in interface ExtendedLinkContentgetExtendedLink in class ExtendedLinkContentImplXBRLExceptionExtendedLinkContent.getExtendedLink()
public String getShow()
throws XBRLException
Arc
getShow in interface ArcXBRLExceptionArc.getShow()
public String getActuate()
throws XBRLException
Arc
getActuate in interface ArcXBRLExceptionArc.getActuate()
public String getFrom()
throws XBRLException
Arc
getFrom in interface ArcXBRLExceptionArc.getFrom()
public String getTo()
throws XBRLException
Arc
getTo in interface ArcXBRLExceptionArc.getTo()
public URI getArcrole()
throws XBRLException
getArcrole in interface ArcXBRLExceptionArc.getArcrole()
public Double getOrder()
throws XBRLException
Arc
getOrder in interface ArcXBRLExceptionArc.getOrder()
public Integer getPriority()
throws XBRLException
getPriority in interface ArcXBRLExceptionArc.getPriority()
public String getUse()
throws XBRLException
getUse in interface ArcXBRLExceptionArc.getUse()
public boolean isProhibited()
throws XBRLException
isProhibited in interface ArcXBRLExceptionArc.isProhibited()
public <E extends ArcEnd> List<E> getSourceFragments()
throws XBRLException
Arc
getSourceFragments in interface ArcXBRLExceptionArc.getSourceFragments()
public <E extends ArcEnd> List<E> getTargetFragments()
throws XBRLException
Arc
getTargetFragments in interface ArcXBRLExceptionArc.getTargetFragments()
public NamedNodeMap getSemanticAttributes()
throws XBRLException
getSemanticAttributes in interface ArcXBRLExceptionArc.getSemanticAttributes()
public String getSemanticKey()
throws XBRLException
getSemanticKey in interface ArcXBRLExceptionArc.getSemanticKey()
public boolean semanticEquals(Arc other)
throws XBRLException
Arc
semanticEquals in interface Arcother - The other arc.
XBRLExceptionArc.semanticEquals(Arc)
public URI getPreferredLabelRole()
throws XBRLException
Arc
getPreferredLabelRole in interface ArcConstants.StandardLabelRole
XBRLExceptionArc.getPreferredLabelRole()
public Double getWeight()
throws XBRLException
Arc
getWeight in interface ArcXBRLExceptionArc.getWeight()
public String getXlinkType()
throws XBRLException
getXlinkType in interface XlinkXBRLExceptionXlink.getXlinkType()
public String getTitleAttribute()
throws XBRLException
getTitleAttribute in interface XlinkXBRLExceptionXlink.getTitleAttribute()
public List<Title> getTitleElements()
throws XBRLException
getTitleElements in interface XlinkXBRLExceptionXlink.getTitleElements()
public Title getTitleElement(int index)
throws XBRLException
getTitleElement in interface Xlinkindex - The index of the required title element
XBRLException - if the index is out of boundsXlink.getTitleElement(int)
protected URI getTargetDocumentURI(URI uri)
throws XBRLException
uri - The supplied URI for decomposition.
XBRLException
protected String getTargetPointerValue(String pointer)
throws XBRLException
pointer - The String value of the XPointer supplied in the URI.
XBRLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||