public interface XBRLFactsList
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
XBRLFact fact)
Adds the fact to the facts list at the indicated position.
|
boolean |
add(XBRLFact fact)
Adds a new fact to the end of this list of facts.
|
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.
|
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<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 |
getNumberOfItems()
Calculates and returns the number of items children of this facts container.
|
int |
getNumberOfTuples()
Calculates and returns the number of tuples children of this facts container.
|
XMLFragment |
getParentXBRL()
Access to the parent document, Instance or tuple.
|
java.util.Iterator<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.
|
XPathOnXMLFragment |
getXPath()
Returns an instance of the class to evaluate XPath expressions.
|
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()
Iterator over this FactsList content.
|
java.util.Iterator<XBRLFact> |
iterator2()
Iterator over this FactsList content that goes nested
inside tuple content.
|
boolean |
remove(java.util.Set<XBRLFact> facts)
Removes a set of facts from the facts container.
|
boolean |
remove(XBRLFact fact)
Removes a fact from the facts container.
|
boolean |
removeFact(XBRLFact fact)
Removes a fact from the parent XML element.
|
boolean |
removeFacts(java.util.Set<XBRLFact> facts)
Removes a fact from the parent XML element.
|
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.
|
XMLFragment getParentXBRL()
void setParent(XBRLFactsList parent)
parent
- the new parentboolean add(XBRLFact fact)
fact
- the factvoid add(int index, XBRLFact fact)
index
- the indexfact
- the factXBRLFact get(int index)
index
- integerboolean remove(XBRLFact fact)
fact
- the factboolean removeFact(XBRLFact fact)
fact
- the factboolean remove(java.util.Set<XBRLFact> facts)
facts
- the set of factsboolean removeFacts(java.util.Set<XBRLFact> facts)
facts
- the factsXBRLInstance getInstance()
java.util.Iterator<XBRLFact> iterator()
java.util.Iterator<XBRLFact> iterator2()
int size()
java.util.Iterator<XBRLFactItem> getItems()
java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
itemFrom
- XBRLItemjava.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
itemFrom
- XBRLItemjava.util.Iterator<XBRLFactTuple> getTuples()
java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
tupleFrom
- XBRLTuplejava.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
tupleFrom
- the tuple fromint getNumberOfItems()
int getNumberOfTuples()
DTSContainer getContainer()
net.sf.saxon.s9api.XdmNode getDocument()
java.lang.String getXPathToRoot()
int indexOf(XBRLFact fact)
fact
- XBRLFactint indexOf(XBRLFact fact, int index)
fact
- XBRLFactindex
- integervoid clear() throws java.lang.Throwable
java.lang.Throwable
- the throwableint hashCode()
hashCode
in class java.lang.Object
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to compare toXPathOnXMLFragment getXPath()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa