|
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.InstanceImpl
public class InstanceImpl
| Field Summary |
|---|
| Fields inherited from class org.xbrlapi.impl.XMLImpl |
|---|
logger |
| Constructor Summary | |
|---|---|
InstanceImpl()
|
|
| Method Summary | |
|---|---|
List<Concept> |
getAllConcepts()
|
long |
getAllConceptsCount()
|
List<Fact> |
getAllFacts()
|
long |
getAllFactsCount()
|
List<Item> |
getAllItems()
|
List<Concept> |
getChildConcepts()
|
long |
getChildConceptsCount()
|
List<Fact> |
getChildFacts()
Get the list of facts that are children of the instance. |
long |
getChildFactsCount()
|
List<Item> |
getChildItems()
|
Context |
getContext(String id)
Get a specified context from the instance based on its id. |
List<Context> |
getContexts()
Get list contexts contained in the instance. |
String |
getEarliestPeriod()
|
Map<String,Set<String>> |
getEntityIdentifiers()
|
List<EntityResource> |
getEntityResources()
|
List<Fact> |
getFacts(Concept concept)
|
List<Fact> |
getFacts(URI namespace,
String localname)
|
List<ExtendedLink> |
getFootnoteLinks()
Get a list of footnote link fragments Returns null if none are contained by the XBRL instance. |
List<FootnoteResource> |
getFootnotes()
|
String |
getLatestPeriod()
|
List<SimpleLink> |
getLinkbaseRefs()
Get the list of linkbaseRef fragments in the instance Returns null if none are contained by the XBRL instance. |
List<SimpleLink> |
getSchemaRefs()
Get the list of schemaRef fragments in the instance Returns null if none are contained by the XBRL instance. |
List<Tuple> |
getTuples()
|
Unit |
getUnit(String id)
Get a specified unit from the instance based on its id. |
List<Unit> |
getUnits()
Get the list of units contained in the instance. |
| 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.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 InstanceImpl()
| Method Detail |
|---|
public List<SimpleLink> getSchemaRefs()
throws XBRLException
Instance
getSchemaRefs in interface InstanceXBRLExceptionInstance.getSchemaRefs()
public List<SimpleLink> getLinkbaseRefs()
throws XBRLException
Instance
getLinkbaseRefs in interface InstanceXBRLExceptionInstance.getLinkbaseRefs()
public List<Context> getContexts()
throws XBRLException
Instance
getContexts in interface InstanceXBRLExceptionInstance.getContexts()
public Context getContext(String id)
throws XBRLException
Instance
getContext in interface Instanceid - The id of the context fragment
XBRLException - if the context does not existInstance.getContext(String)
public List<Unit> getUnits()
throws XBRLException
Instance
getUnits in interface InstanceXBRLExceptionInstance.getUnits()
public Unit getUnit(String id)
throws XBRLException
Instance
getUnit in interface Instanceid - The id of the unit fragment
XBRLException - if the unit is not in this instance.Instance.getUnit(String)
public List<ExtendedLink> getFootnoteLinks()
throws XBRLException
Instance
getFootnoteLinks in interface InstanceXBRLExceptionInstance.getFootnoteLinks()
public List<FootnoteResource> getFootnotes()
throws XBRLException
getFootnotes in interface InstanceXBRLExceptionInstance.getFootnotes()
public List<Fact> getChildFacts()
throws XBRLException
Instance
getChildFacts in interface InstanceXBRLExceptionInstance.getChildFacts()
public List<Fact> getAllFacts()
throws XBRLException
getAllFacts in interface InstanceXBRLExceptionInstance.getAllFacts()
public List<Item> getChildItems()
throws XBRLException
getChildItems in interface InstanceXBRLExceptionInstance.getChildItems()
public List<Tuple> getTuples()
throws XBRLException
getTuples in interface InstanceXBRLExceptionInstance.getTuples()
public String getEarliestPeriod()
throws XBRLException
getEarliestPeriod in interface InstanceXBRLExceptionInstance.getEarliestPeriod()
public long getChildFactsCount()
throws XBRLException
getChildFactsCount in interface InstanceXBRLExceptionInstance.getChildFactsCount()
public long getAllFactsCount()
throws XBRLException
getAllFactsCount in interface InstanceXBRLExceptionInstance.getAllFactsCount()
public String getLatestPeriod()
throws XBRLException
getLatestPeriod in interface InstanceXBRLExceptionInstance.getLatestPeriod()
public List<EntityResource> getEntityResources()
throws XBRLException
getEntityResources in interface InstanceXBRLExceptionInstance.getEntityResources()
public Map<String,Set<String>> getEntityIdentifiers()
throws XBRLException
getEntityIdentifiers in interface InstanceXBRLExceptionInstance.getEntityIdentifiers()
public List<Concept> getChildConcepts()
throws XBRLException
getChildConcepts in interface InstanceXBRLExceptionInstance.getChildConcepts()
public List<Concept> getAllConcepts()
throws XBRLException
getAllConcepts in interface InstanceXBRLException
public long getChildConceptsCount()
throws XBRLException
getChildConceptsCount in interface InstanceXBRLExceptionInstance.getChildConceptsCount()
public long getAllConceptsCount()
throws XBRLException
getAllConceptsCount in interface InstanceXBRLExceptionInstance.getAllConceptsCount()
public List<Item> getAllItems()
throws XBRLException
getAllItems in interface InstanceXBRLExceptionInstance.getAllItems()
public List<Fact> getFacts(URI namespace,
String localname)
throws XBRLException
getFacts in interface Instancenamespace - The namespace of the facts to select.localname - The local name of the facts to select.
XBRLException - if either parameter is null.Instance.getFacts(URI, String)
public List<Fact> getFacts(Concept concept)
throws XBRLException
getFacts in interface Instanceconcept - the concept to get the facts for.
XBRLException - if the parameter is null.Instance.getFacts(Concept)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||