public class ExtendedLinkImpl extends LinkImpl implements ExtendedLink
Constructor and Description |
---|
ExtendedLinkImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getArcEndIndicesByLabel() |
<E extends ArcEnd> |
getArcEndsWithLabel(java.lang.String label)
Get the list of Arc Ends (locators or resources) with a specified label in
the extended link.
|
java.util.List<Arc> |
getArcs()
Get the list of arcs contained by the extended link.
|
java.util.List<Arc> |
getArcsWithArcrole(java.lang.String arcrole) |
java.util.List<Arc> |
getArcsWithFromLabel(java.lang.String from) |
java.util.List<Arc> |
getArcsWithFromLabelAndArcrole(java.lang.String from,
java.lang.String arcrole) |
java.util.List<Arc> |
getArcsWithToLabel(java.lang.String to) |
java.util.List<Arc> |
getArcsWithToLabelAndArcrole(java.lang.String to,
java.lang.String arcrole) |
java.lang.String |
getAttribute(java.lang.String name)
Get a no-namespace attribute value.
|
java.lang.String |
getAttribute(java.lang.String namespace,
java.lang.String localname)
Get a non-xlink attribute value.
|
java.util.List<XlinkDocumentation> |
getDocumentations()
Get the list of documentation fragments contained by the extended link.
|
java.util.List<Locator> |
getLocators()
Get the list of locators contained by the extended link.
|
java.util.List<Locator> |
getLocatorsWithHref(java.lang.String href)
Get the list of locators in the extended link with a specified absolute HREF.
|
java.util.List<Locator> |
getLocatorsWithLabel(java.lang.String label)
Get the list of locators with a specified label in the extended link.
|
java.util.Map<java.lang.String,java.lang.String> |
getLocatorTargetIndices() |
java.util.List<Resource> |
getResources()
Get the list of resources contained by the extended link.
|
java.util.List<Resource> |
getResourcesWithLabel(java.lang.String label)
Get the list of resources with the specified label.
|
java.lang.String |
getTitleAttribute()
Get the title (The xlink:title attribute value).
|
Title |
getTitleElement(int index)
Get a list of titles (The xlink:title children elements).
|
java.util.List<Title> |
getTitleElements()
Get a list of titles (The xlink:title children elements).
|
java.lang.String |
getXlinkType()
Get the xlink type (The xxlink:type attribute value).
|
getLinkRole
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, compareTo, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
getClass, notify, notifyAll, toString, wait, wait, wait
getLinkRole
getAttribute, getAttribute, getTitleAttribute, getTitleElement, getTitleElements, getXlinkType
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
public java.util.List<Locator> getLocators() throws XBRLException
ExtendedLink
getLocators
in interface ExtendedLink
XBRLException
ExtendedLink.getLocators()
public <E extends ArcEnd> java.util.List<E> getArcEndsWithLabel(java.lang.String label) throws XBRLException
ExtendedLink
getArcEndsWithLabel
in interface ExtendedLink
label
- The string value of the xlink:label attribute on the arc ends.XBRLException
ExtendedLink.getArcEndsWithLabel(String)
public java.util.List<Locator> getLocatorsWithLabel(java.lang.String label) throws XBRLException
ExtendedLink
getLocatorsWithLabel
in interface ExtendedLink
label
- The string value of the xlink:label attribute on the locator.XBRLException
ExtendedLink.getLocatorsWithLabel(String)
public java.util.List<Locator> getLocatorsWithHref(java.lang.String href) throws XBRLException
ExtendedLink
getLocatorsWithHref
in interface ExtendedLink
href
- The resolved value of the xlink:href attribute on the locator.XBRLException
ExtendedLink.getLocatorsWithHref(String)
public java.util.List<Arc> getArcs() throws XBRLException
ExtendedLink
getArcs
in interface ExtendedLink
XBRLException
ExtendedLink.getArcs()
public java.util.List<Arc> getArcsWithToLabel(java.lang.String to) throws XBRLException
getArcsWithToLabel
in interface ExtendedLink
to
- The required value of the xlink:to attribute of the arcs.XBRLException
ExtendedLink.getArcsWithToLabel(String)
public java.util.List<Arc> getArcsWithFromLabel(java.lang.String from) throws XBRLException
getArcsWithFromLabel
in interface ExtendedLink
from
- The required value of the xlink:from attribute of the arcs.XBRLException
ExtendedLink.getArcsWithFromLabel(String)
public java.util.List<Arc> getArcsWithFromLabelAndArcrole(java.lang.String from, java.lang.String arcrole) throws XBRLException
getArcsWithFromLabelAndArcrole
in interface ExtendedLink
from
- The required value of the xlink:from attribute of the arcs.arcrole
- The arcrole value for the arcs being sought.XBRLException
ExtendedLink.getArcsWithFromLabelAndArcrole(String,String)
public java.util.List<Arc> getArcsWithArcrole(java.lang.String arcrole) throws XBRLException
getArcsWithArcrole
in interface ExtendedLink
arcrole
- The arcrole of the required arcs.
Get the list of arcs with the given arcrole that are
contained by the extended link.XBRLException
ExtendedLink.getArcsWithArcrole(String)
public java.util.List<Arc> getArcsWithToLabelAndArcrole(java.lang.String to, java.lang.String arcrole) throws XBRLException
getArcsWithToLabelAndArcrole
in interface ExtendedLink
to
- The required value of the xlink:to attribute of the arcs.arcrole
- The arcrole value for the arcs being sought.XBRLException
ExtendedLink.getArcsWithToLabelAndArcrole(String,String)
public java.util.List<Resource> getResources() throws XBRLException
ExtendedLink
getResources
in interface ExtendedLink
XBRLException
ExtendedLink.getResources()
public java.util.List<Resource> getResourcesWithLabel(java.lang.String label) throws XBRLException
ExtendedLink
getResourcesWithLabel
in interface ExtendedLink
label
- The value of the label used to select resources in the extended link.XBRLException
ExtendedLink.getResourcesWithLabel(String)
public java.util.List<XlinkDocumentation> getDocumentations() throws XBRLException
getDocumentations
in interface ExtendedLink
XBRLException
ExtendedLink.getDocumentations()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getArcEndIndicesByLabel() throws XBRLException
getArcEndIndicesByLabel
in interface ExtendedLink
XBRLException
ExtendedLink.getArcEndIndicesByLabel()
public java.util.Map<java.lang.String,java.lang.String> getLocatorTargetIndices() throws XBRLException
getLocatorTargetIndices
in interface ExtendedLink
XBRLException
ExtendedLink.getLocatorTargetIndices()
public java.lang.String getXlinkType() throws XBRLException
Xlink
getXlinkType
in interface Xlink
XBRLException
Xlink.getXlinkType()
public java.lang.String getTitleAttribute() throws XBRLException
Xlink
getTitleAttribute
in interface Xlink
XBRLException
Xlink.getTitleAttribute()
public java.util.List<Title> getTitleElements() throws XBRLException
Xlink
getTitleElements
in interface Xlink
XBRLException
Xlink.getTitleElements()
public Title getTitleElement(int index) throws XBRLException
Xlink
getTitleElement
in interface Xlink
index
- The index of the required title elementXBRLException
Xlink.getTitleElement(int)
public java.lang.String getAttribute(java.lang.String namespace, java.lang.String localname) throws XBRLException
Xlink
getAttribute
in interface Xlink
namespace
- The namespace of the attribute to retrievelocalname
- The local name of the attribute to retrieveXBRLException
- if the namespace URI is for the XLink namespace.Xlink.getAttribute(String, String)
public java.lang.String getAttribute(java.lang.String name) throws XBRLException
Xlink
getAttribute
in interface Xlink
name
- The name of the no-namespace attribute to retrieveXBRLException
Xlink.getAttribute(String)