|
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.LinkImpl
org.xbrlapi.impl.ExtendedLinkImpl
public class ExtendedLinkImpl
| Field Summary |
|---|
| Fields inherited from class org.xbrlapi.impl.XMLImpl |
|---|
logger |
| Constructor Summary | |
|---|---|
ExtendedLinkImpl()
|
|
| Method Summary | ||
|---|---|---|
Map<String,List<String>> |
getArcEndIndicesByLabel()
|
|
|
getArcEndsWithLabel(String label)
Get the list of Arc Ends (locators or resources) with a specified label in the extended link. |
|
List<Arc> |
getArcs()
Get the list of arcs contained by the extended link. |
|
List<Arc> |
getArcsWithArcrole(URI arcrole)
|
|
List<Arc> |
getArcsWithFromLabel(String from)
|
|
List<Arc> |
getArcsWithFromLabelAndArcrole(String from,
URI arcrole)
|
|
List<Arc> |
getArcsWithToLabel(String to)
|
|
List<Arc> |
getArcsWithToLabelAndArcrole(String to,
URI arcrole)
|
|
String |
getAttribute(String name)
Get a no-namespace attribute value. |
|
String |
getAttribute(URI namespace,
String localname)
Get a non-xlink attribute value. |
|
List<XlinkDocumentation> |
getDocumentations()
Get the list of documentation fragments contained by the extended link. |
|
List<Locator> |
getLocators()
Get the list of locators contained by the extended link. |
|
List<Locator> |
getLocatorsWithHref(String href)
Get the list of locators in the extended link with a specified absolute HREF. |
|
List<Locator> |
getLocatorsWithLabel(String label)
Get the list of locators with a specified label in the extended link. |
|
Map<String,String> |
getLocatorTargetIndices()
|
|
List<Resource> |
getResources()
Get the list of resources contained by the extended link. |
|
List<Resource> |
getResourcesWithLabel(String label)
Get the list of resources with the specified label. |
|
protected URI |
getTargetDocumentURI(URI uri)
Get the URI of the document containing the fragment targeted by the supplied URI. |
|
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 list of titles (The xlink:title children elements). |
|
List<Title> |
getTitleElements()
Get a list of titles (The xlink:title children elements). |
|
String |
getXlinkType()
Get the xlink type (The xxlink:type attribute value). |
|
| Methods inherited from class org.xbrlapi.impl.LinkImpl |
|---|
getLinkRole |
| 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, 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.Link |
|---|
getLinkRole |
| Methods inherited from interface org.xbrlapi.Xlink |
|---|
getAttribute, getAttribute, 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, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public ExtendedLinkImpl()
| Method Detail |
|---|
public List<Locator> getLocators()
throws XBRLException
ExtendedLink
getLocators in interface ExtendedLinkXBRLExceptionExtendedLink.getLocators()
public <E extends ArcEnd> List<E> getArcEndsWithLabel(String label)
throws XBRLException
ExtendedLink
getArcEndsWithLabel in interface ExtendedLinklabel - The string value of the xlink:label attribute on the arc ends.
XBRLExceptionExtendedLink.getArcEndsWithLabel(String)
public List<Locator> getLocatorsWithLabel(String label)
throws XBRLException
ExtendedLink
getLocatorsWithLabel in interface ExtendedLinklabel - The string value of the xlink:label attribute on the locator.
XBRLExceptionExtendedLink.getLocatorsWithLabel(String)
public List<Locator> getLocatorsWithHref(String href)
throws XBRLException
ExtendedLink
getLocatorsWithHref in interface ExtendedLinkhref - The resolved value of the xlink:href attribute on the locator.
XBRLExceptionExtendedLink.getLocatorsWithHref(String)
public List<Arc> getArcs()
throws XBRLException
ExtendedLink
getArcs in interface ExtendedLinkXBRLExceptionExtendedLink.getArcs()
public List<Arc> getArcsWithToLabel(String to)
throws XBRLException
getArcsWithToLabel in interface ExtendedLinkto - The required value of the xlink:to attribute of the arcs.
XBRLExceptionExtendedLink.getArcsWithToLabel(String)
public List<Arc> getArcsWithFromLabel(String from)
throws XBRLException
getArcsWithFromLabel in interface ExtendedLinkfrom - The required value of the xlink:from attribute of the arcs.
XBRLExceptionExtendedLink.getArcsWithFromLabel(String)
public List<Arc> getArcsWithFromLabelAndArcrole(String from,
URI arcrole)
throws XBRLException
getArcsWithFromLabelAndArcrole in interface ExtendedLinkfrom - The required value of the xlink:from attribute of the arcs.arcrole - The arcrole value for the arcs being sought.
XBRLExceptionExtendedLink.getArcsWithFromLabelAndArcrole(String,URI)
public List<Arc> getArcsWithArcrole(URI arcrole)
throws XBRLException
getArcsWithArcrole in interface ExtendedLinkarcrole - The arcrole of the required arcs.
Get the list of arcs with the given arcrole that are
contained by the extended link.
XBRLExceptionExtendedLink.getArcsWithArcrole(URI)
public List<Arc> getArcsWithToLabelAndArcrole(String to,
URI arcrole)
throws XBRLException
getArcsWithToLabelAndArcrole in interface ExtendedLinkto - The required value of the xlink:to attribute of the arcs.arcrole - The arcrole value for the arcs being sought.
XBRLExceptionExtendedLink.getArcsWithToLabelAndArcrole(String,URI)
public List<Resource> getResources()
throws XBRLException
ExtendedLink
getResources in interface ExtendedLinkXBRLExceptionExtendedLink.getResources()
public List<Resource> getResourcesWithLabel(String label)
throws XBRLException
ExtendedLink
getResourcesWithLabel in interface ExtendedLinklabel - The value of the label used to select resources in the extended link.
XBRLExceptionExtendedLink.getResourcesWithLabel(String)
public List<XlinkDocumentation> getDocumentations()
throws XBRLException
getDocumentations in interface ExtendedLinkXBRLExceptionExtendedLink.getDocumentations()
public Map<String,List<String>> getArcEndIndicesByLabel()
throws XBRLException
getArcEndIndicesByLabel in interface ExtendedLinkXBRLExceptionExtendedLink.getArcEndIndicesByLabel()
public Map<String,String> getLocatorTargetIndices()
throws XBRLException
getLocatorTargetIndices in interface ExtendedLinkXBRLExceptionExtendedLink.getLocatorTargetIndices()
public String getXlinkType()
throws XBRLException
Xlink
getXlinkType in interface XlinkXBRLExceptionXlink.getXlinkType()
public String getTitleAttribute()
throws XBRLException
Xlink
getTitleAttribute in interface XlinkXBRLExceptionXlink.getTitleAttribute()
public List<Title> getTitleElements()
throws XBRLException
Xlink
getTitleElements in interface XlinkXBRLExceptionXlink.getTitleElements()
public Title getTitleElement(int index)
throws XBRLException
Xlink
getTitleElement in interface Xlinkindex - The index of the required title element
XBRLExceptionXlink.getTitleElement(int)
public String getAttribute(URI namespace,
String localname)
throws XBRLException
Xlink
getAttribute in interface Xlinknamespace - The namespace of the attribute to retrievelocalname - The local name of the attribute to retrieve
XBRLException - if the namespace URI is for the XLink namespace.Xlink.getAttribute(URI, String)
public String getAttribute(String name)
throws XBRLException
Xlink
getAttribute in interface Xlinkname - The name of the no-namespace attribute to retrieve
XBRLExceptionXlink.getAttribute(String)
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 | ||||||||