|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.instance.XBRLFactsListImpl
public class XBRLFactsListImpl
Implementation of the XBRLFactsList interface in a class that can hold a list of facts but is not a fact itself and does not have any representation in XML nodes.
| Constructor Summary | |
|---|---|
XBRLFactsListImpl(DTSContainer dts)
|
|
| Method Summary | |
|---|---|
void |
add(int index,
XBRLFact fact)
Resets the nillable status to false automatically. |
boolean |
add(XBRLFact fact)
Resets the nillable status to false automatically. |
void |
addOrForwardItem(XBRLFactItem item)
Called internally to register new facts in the instance document |
void |
addXMLChild(XMLHasParent child)
|
void |
clear()
Removes all children elements in this XBRLFactList |
XBRLFactsListImpl |
clone()
|
XBRLFactsListImpl |
clone(DTSContainer newDTS)
|
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 |
void |
forwardItem(XBRLFactItem item)
|
XBRLFact |
get(int index)
Returns the element at the selected index position. |
java.net.URI |
getBase()
|
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 |
removeXMLChild(XMLHasParent child)
|
void |
setParent(XBRLFactsList parent)
Sets the parent of this facts container to a new parent. |
void |
setParent(XMLHasParent parent)
|
int |
size()
Access to the number of elements in the XBRLFactList |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLFactsListImpl(DTSContainer dts)
| Method Detail |
|---|
public XBRLFactsListImpl clone()
clone in class java.lang.Objectpublic XBRLFactsListImpl clone(DTSContainer newDTS)
public void forwardItem(XBRLFactItem item)
public boolean add(XBRLFact fact)
add in interface XBRLFactsList
public void add(int index,
XBRLFact fact)
add in interface XBRLFactsListpublic java.util.Iterator<java.util.Vector<XBRLFactItem>> getItems()
XBRLFactsList
getItems in interface XBRLFactsListpublic java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
XBRLFactsList
getItems in interface XBRLFactsListitemFrom - XBRLItem
public java.util.Iterator<java.util.Vector<XBRLFactTuple>> getTuples()
XBRLFactsList
getTuples in interface XBRLFactsListpublic java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
XBRLFactsList
getTuples in interface XBRLFactsListtupleFrom - XBRLTuple
public java.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
XBRLFactsList
getItemsSg in interface XBRLFactsListitemFrom - XBRLItem
public java.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
XBRLFactsList
getTuplesSg in interface XBRLFactsListpublic int getNumberOfTuples()
XBRLFactsList
getNumberOfTuples in interface XBRLFactsListpublic java.util.Iterator<XBRLFact> iterator()
iterator in interface XBRLFactsListpublic boolean remove(XBRLFact fact)
XBRLFactsList
remove in interface XBRLFactsListpublic void setParent(XBRLFactsList parent)
XBRLFactsList
setParent in interface XBRLFactsListpublic void addOrForwardItem(XBRLFactItem item)
XBRLFactsList
addOrForwardItem in interface XBRLFactsListpublic int size()
XBRLFactsList
size in interface XBRLFactsListpublic XBRLFact get(int index)
XBRLFactsList
get in interface XBRLFactsListindex - integer
public int indexOf(XBRLFact fact)
XBRLFactsList
indexOf in interface XBRLFactsListfact - XBRLFact
public int indexOf(XBRLFact fact,
int index)
XBRLFactsList
indexOf in interface XBRLFactsListfact - XBRLFactindex - integer
public void clear()
XBRLFactsList
clear in interface XBRLFactsListpublic int hashCode()
XBRLFactsList
hashCode in interface XBRLFactsListhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
XBRLFactsList
equals in interface XBRLFactsListequals in class java.lang.Objectobj - Object to compare to
public void setParent(XMLHasParent parent)
throws XBRLInconsistentDTSException
setParent in interface XMLHasParentXBRLInconsistentDTSException
public void addXMLChild(XMLHasParent child)
throws XBRLInconsistentDTSException
addXMLChild in interface XMLHasParentXBRLInconsistentDTSExceptionpublic void removeXMLChild(XMLHasParent child)
removeXMLChild in interface XMLHasParentpublic java.net.URI getBase()
getBase in interface XMLHasParentpublic XBRLFactsList getParent()
XBRLFactsList
getParent in interface XBRLFactsListgetParent in interface XMLHasParentpublic XBRLInstance getInstance()
XBRLFactsList
getInstance in interface XBRLFactsListpublic DTSContainer getContainer()
XBRLFactsList
getContainer in interface XBRLFactsListpublic net.sf.saxon.s9api.XdmNode getDocument()
XBRLFactsList
getDocument in interface XBRLFactsListpublic java.lang.String getXPathToRoot()
XBRLFactsList
getXPathToRoot in interface XBRLFactsListpublic net.sf.saxon.s9api.XdmValue evaluateList(java.lang.String string)
XBRLFactsList
evaluateList in interface XBRLFactsList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||