|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.exist.fluent.ItemList.NodesFacet
public class ItemList.NodesFacet
A facet that treats each item in the list as a node. If an operation accesses an item that
is not a node, it will throw a DatabaseException.
| Method Summary | |
|---|---|
List<Node> |
asList()
Return an unmodifiable list view over the list of nodes. |
Set<XMLDocument> |
documents()
Return the set of documents to which the nodes in this list belong. |
boolean |
equals(Object o)
|
int |
hashCode()
|
Iterator<Node> |
iterator()
Return an iterator over the list of nodes. |
Node[] |
toArray()
Convert the list of nodes to an array. |
Node[] |
toArray(Node[] a)
Convert the list of nodes to an array. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Iterator<Node> iterator()
iterator in interface Iterable<Node>public Set<XMLDocument> documents()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic List<Node> asList()
public Node[] toArray()
public Node[] toArray(Node[] a)
null marker after the end of the list. If the
array is not large enough, allocate a new one.
a - the array to fill with the list of nodes
public String toString()
toString in class Object
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||