org.xbrlapi
Interface Locator
- All Superinterfaces:
- ArcEnd, Comparable<Fragment>, ExtendedLinkContent, Fragment, Xlink
- All Known Implementing Classes:
- LocatorImpl
public interface Locator
- extends ArcEnd
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
| Methods inherited from interface org.xbrlapi.Fragment |
appendElementSchemeXPointer, appendID, appendMetadataElement, equals, getAllChildren, getAncestorOrSelf, getBuilder, getDataRootElement, getDocumentNode, getFragmentIndex, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguage, getLabelsWithLanguageAndRole, getLabelsWithLanguageAndRole, getLabelsWithRole, getLabelsWithRole, getLocalname, getLocalnameFromQName, getMetaAttribute, getMetadataRootElement, getNamespaceFromQName, getNamespaceURI, getNetworks, getNetworksFromWithArcrole, getNetworksFromWithRoleAndArcrole, getNetworksWithArcrole, getParent, getParentElement, getParentIndex, getPrecedingSiblings, getPrefixFromQName, getReferences, getReferencingLocators, getRelationshipsToWithArcrole, getRelatives, getResource, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getStore, getType, getURI, getXPath, hashCode, isa, isNewFragment, removeElementSchemeXPointer, removeID, removeMetaAttribute, removeMetadataElement, removeRelationship, setBuilder, setFragmentIndex, setMetaAttribute, setParentIndex, setPrecedingSiblings, setResource, setSequenceToParentElement, setStore, setURI |
setTarget
void setTarget(URI uri)
throws XBRLException
- Set metadata about the target of the locator.
This includes, the absolute URI, the target document URI and the XPointer value
used to identify part of the target document.
- Throws:
XBRLException
getHref
String getHref()
throws XBRLException
- Get the raw xlink:href attribute value (before any resolution).
- Returns:
- the value of the xlink:href attribute on the locator.
- Throws:
XBRLException - if the attribute is missing.
getTargetFragment
Fragment getTargetFragment()
throws XBRLException
- Get the single fragment that this locator references.
- Returns:
- the single fragment referenced by the locator or none if none
is found.
- Throws:
XBRLException
getAbsoluteHref
URI getAbsoluteHref()
throws XBRLException
- Get the absolute value of the HREF to the metadata.
- Returns:
- The absolute URI specified by the locator HREF attribute.
- Throws:
XBRLException.
XBRLException
getTargetDocumentURI
URI getTargetDocumentURI()
throws XBRLException
- Returns:
- the document URI for the target fragment.
- Throws:
XBRLException.
XBRLException
getTargetPointerValue
String getTargetPointerValue()
throws XBRLException
- Returns:
- the string value of the XPointer element scheme expression from the xlink:href attribute.
- Throws:
XBRLException.
XBRLException