|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XBRLFactsList
This interface provides methods for objects that contains a list of facts in document order and also possible accelerator functions to facts indexed by fact name
| Method Summary | |
|---|---|
void |
add(int index,
XBRLFact fact)
|
boolean |
add(XBRLFact fact)
Adds a new fact to the end of this list of facts |
void |
addOrForwardItem(XBRLFactItem item)
Called internally to register new facts in the instance document |
void |
clear()
Removes all children elements in this XBRLFactList |
boolean |
equals(java.lang.Object obj)
This function should be implemented by sub classes in order to properly implement |
net.sf.saxon.s9api.XdmValue |
evaluateList(java.lang.String string)
Access to the surrounding method in the XMLFragment |
XBRLFact |
get(int index)
Returns the element at the selected index position. |
DTSContainer |
getContainer()
Access to the surrounding container object |
net.sf.saxon.s9api.XdmNode |
getDocument()
Access to the surrounding XdmDocument from the XMLFragment |
XBRLInstance |
getInstance()
Access to the instance document on the top of this facts container hierarchy |
java.util.Iterator<java.util.Vector<XBRLFactItem>> |
getItems()
Iterator over the items on this facts container |
java.util.Iterator<XBRLFactItem> |
getItems(XBRLItem itemFrom)
Iterator over fact items that are instances of the XBRLItem received as a parameter. |
java.util.Iterator<XBRLFactItem> |
getItemsSg(XBRLItem itemFrom)
Iterator over fact items that are instances of the XBRLItem received as a parameter of in the substitution group of that item |
int |
getNumberOfTuples()
Calculates and returns the number of tuples children of this facts container |
XBRLFactsList |
getParent()
Access to the parent document, Instance or tuple |
java.util.Iterator<java.util.Vector<XBRLFactTuple>> |
getTuples()
Iterator over the tuples on this facts container |
java.util.Iterator<XBRLFactTuple> |
getTuples(XBRLTuple tupleFrom)
Iterator over fact tuples that are instances of the XBRLTuple received as a parameter. |
java.util.Iterator<XBRLFactTuple> |
getTuplesSg(XBRLTuple tupleFrom)
Iterator over fact tuples that are instances of the XBRLTuple received as a parameter of in the substitution group of that tuple |
java.lang.String |
getXPathToRoot()
Access to the surrounding method from the XMLFragment |
int |
hashCode()
This is from the Object interface and must be implemented by sub classes in order to be able to provide hashCodes |
int |
indexOf(XBRLFact fact)
Returns the index position of a fact within this list |
int |
indexOf(XBRLFact fact,
int index)
Returns the index position of a fact within this list starting at the position indicated by the index parameter |
java.util.Iterator<XBRLFact> |
iterator()
|
boolean |
remove(XBRLFact fact)
Removes a fact from the facts container |
void |
setParent(XBRLFactsList parent)
Sets the parent of this facts container to a new parent. |
int |
size()
Access to the number of elements in the XBRLFactList |
| Methods inherited from interface com.ihr.xbrl.om.XMLHasParent |
|---|
addXMLChild, getBase, removeXMLChild, setParent |
| Method Detail |
|---|
XBRLFactsList getParent()
getParent in interface XMLHasParentvoid setParent(XBRLFactsList parent)
parent - boolean add(XBRLFact fact)
fact -
void add(int index,
XBRLFact fact)
XBRLFact get(int index)
index - integer
boolean remove(XBRLFact fact)
fact -
XBRLValidationExceptionXBRLInstance getInstance()
java.util.Iterator<XBRLFact> iterator()
int size()
java.util.Iterator<java.util.Vector<XBRLFactItem>> getItems()
java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
itemFrom - XBRLItem
java.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
itemFrom - XBRLItem
java.util.Iterator<java.util.Vector<XBRLFactTuple>> getTuples()
java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
tupleFrom - XBRLTuple
java.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
itemFrom - XBRLTuple
int getNumberOfTuples()
DTSContainer getContainer()
void addOrForwardItem(XBRLFactItem item)
item - net.sf.saxon.s9api.XdmNode getDocument()
java.lang.String getXPathToRoot()
net.sf.saxon.s9api.XdmValue evaluateList(java.lang.String string)
string -
int indexOf(XBRLFact fact)
fact - XBRLFact
int indexOf(XBRLFact fact,
int index)
fact - XBRLFactindex - integer
void clear()
throws java.lang.Throwable
java.lang.Throwableint hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Object to compare to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||