|
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.FragmentImpl
org.xbrlapi.impl.ExtendedLinkContentImpl
org.xbrlapi.impl.ArcEndImpl
org.xbrlapi.impl.ResourceImpl
org.xbrlapi.impl.MixedContentResourceImpl
org.xbrlapi.impl.EntityResourceImpl
public class EntityResourceImpl
Entity resource implementation.
| Field Summary |
|---|
| Fields inherited from class org.xbrlapi.impl.FragmentImpl |
|---|
logger |
| Constructor Summary | |
|---|---|
EntityResourceImpl()
|
|
| Method Summary | |
|---|---|
String |
getAttribute(String name)
Get a no-namespace attribute value. |
String |
getAttribute(String namespaceURI,
String localname)
Get a non-xlink attribute value. |
protected FragmentList<EntityResource> |
getDirectEquivalents()
|
FragmentList<Entity> |
getEntities()
|
FragmentList<Entity> |
getEntities(String uri)
|
FragmentList<EntityResource> |
getEquivalents()
|
protected void |
getEquivalentsMap(HashMap<String,EntityResource> map)
Augments a map of equivalent entities |
String |
getIdentifierScheme()
|
String |
getIdentifierValue()
|
protected String |
getStringIdentifier()
|
protected URI |
getTargetDocumentURI(URI uri)
Get the URI of the document containing the fragment targetted 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 specific title fragment |
FragmentList<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.MixedContentResourceImpl |
|---|
getContent, getLanguage |
| Methods inherited from class org.xbrlapi.impl.ResourceImpl |
|---|
getLanguage, getResourceRole |
| Methods inherited from class org.xbrlapi.impl.ArcEndImpl |
|---|
getArcEndId, getArcsFrom, getArcsFromWithArcrole, getArcsTo, getArcsToWithArcrole, getLabel, getRole |
| Methods inherited from class org.xbrlapi.impl.ExtendedLinkContentImpl |
|---|
getExtendedLink |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xbrlapi.MixedContentResource |
|---|
getContent, getLanguage |
| Methods inherited from interface org.xbrlapi.Resource |
|---|
getLanguage, getResourceRole |
| Methods inherited from interface org.xbrlapi.ArcEnd |
|---|
getArcEndId, getArcsFrom, getArcsFromWithArcrole, getArcsTo, getArcsToWithArcrole, getLabel, getRole |
| Methods inherited from interface org.xbrlapi.ExtendedLinkContent |
|---|
getExtendedLink |
| Methods inherited from interface org.xbrlapi.Xlink |
|---|
getAttribute, getAttribute, getTitleAttribute, getTitleElement, getTitleElements, getXlinkType |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public EntityResourceImpl()
| Method Detail |
|---|
public String getIdentifierScheme()
throws XBRLException
getIdentifierScheme in interface EntityResourceXBRLExceptionEntityResource.getIdentifierScheme()
public String getIdentifierValue()
throws XBRLException
getIdentifierValue in interface EntityResourceXBRLExceptionEntityResource.getIdentifierValue()
public FragmentList<EntityResource> getEquivalents()
throws XBRLException
getEquivalents in interface EntityResourceXBRLExceptionEntityResource.getEquivalents()
protected String getStringIdentifier()
throws XBRLException
XBRLException
protected FragmentList<EntityResource> getDirectEquivalents()
throws XBRLException
XBRLException
protected void getEquivalentsMap(HashMap<String,EntityResource> map)
throws XBRLException
XBRLException
public FragmentList<Entity> getEntities()
throws XBRLException
getEntities in interface EntityResourceXBRLExceptionEntityResource.getEntities()
public FragmentList<Entity> getEntities(String uri)
throws XBRLException
getEntities in interface EntityResourceuri - The URI of the document to get the entities from
XBRLExceptionEntityResource.getEntities(String)
public String getXlinkType()
throws XBRLException
getXlinkType in interface XlinkXBRLExceptionXlink.getXlinkType()
public String getTitleAttribute()
throws XBRLException
getTitleAttribute in interface XlinkXBRLExceptionXlink.getTitleAttribute()
public FragmentList<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)
public String getAttribute(String namespaceURI,
String localname)
throws XBRLException
Xlink
getAttribute in interface XlinknamespaceURI - 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(String, 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 | |||||||||