|
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.ArcEndImpl
org.xbrlapi.impl.LocatorImpl
public class LocatorImpl
| Field Summary |
|---|
| Fields inherited from class org.xbrlapi.impl.XMLImpl |
|---|
logger |
| Constructor Summary | |
|---|---|
LocatorImpl()
|
|
| Method Summary | |
|---|---|
URI |
getAbsoluteHref()
Get the absolute value of the HREF to the metadata. |
String |
getAttribute(String name)
Get a no-namespace attribute value. |
String |
getAttribute(URI namespace,
String localname)
Get a non-xlink attribute value. |
ExtendedLink |
getExtendedLink()
Get the extended link containing the extended link xlink content. |
String |
getHref()
Get the raw xlink:href attribute value (before any resolution). |
Fragment |
getTarget()
|
URI |
getTargetDocumentURI()
|
protected URI |
getTargetDocumentURI(URI uri)
Get the URI of the document containing the fragment targeted by the supplied URI. |
String |
getTargetPointerValue()
|
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). |
void |
setTarget(URI uri)
Set metadata about the target of the locator. |
| Methods inherited from class org.xbrlapi.impl.ArcEndImpl |
|---|
getArcEndId, getArcsFrom, getArcsFromWithArcrole, getArcsTo, getArcsToWithArcrole, getLabel, getRole |
| 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.ArcEnd |
|---|
getArcEndId, getArcsFrom, getArcsFromWithArcrole, getArcsTo, getArcsToWithArcrole, getLabel, getRole |
| 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 LocatorImpl()
| Method Detail |
|---|
public void setTarget(URI uri)
throws XBRLException
Locator
setTarget in interface LocatorXBRLExceptionLocator.setTarget(URI)
public String getHref()
throws XBRLException
getHref in interface LocatorXBRLException - if the attribute is missing.Locator.getHref()
public URI getAbsoluteHref()
throws XBRLException
getAbsoluteHref in interface LocatorXBRLException.
XBRLExceptionLocator.getAbsoluteHref()
public URI getTargetDocumentURI()
throws XBRLException
getTargetDocumentURI in interface LocatorXBRLExceptionLocator.getTargetDocumentURI()
public String getTargetPointerValue()
throws XBRLException
getTargetPointerValue in interface LocatorXBRLExceptionLocator.getTargetPointerValue()
public Fragment getTarget()
throws XBRLException
getTarget in interface LocatorXBRLException - if the locator does not reference exactly one fragment.Locator.getTarget()
public ExtendedLink getExtendedLink()
throws XBRLException
ExtendedLinkContent
getExtendedLink in interface ExtendedLinkContentgetExtendedLink in class ExtendedLinkContentImplXBRLExceptionExtendedLinkContent.getExtendedLink()
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 | ||||||||