|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.xquery.util.NodeBuilder
public final class NodeBuilder
Node Builder.
| Field Summary | |
|---|---|
Nod[] |
list
Node array. |
int |
size
Number of entries. |
| Constructor Summary | |
|---|---|
NodeBuilder(boolean ord)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(Nod n)
Adds a single node. |
void |
del(int pos)
Deletes a value at the specified position. |
Item |
finish()
Returns a sequence or the atomic item if only one item exists. |
NodIter |
iter()
Returns a sequence or the atomic item if only one item exists. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Nod[] list
public int size
| Constructor Detail |
|---|
public NodeBuilder(boolean ord)
ord - if set to true, all nodes are supposed to be added in order.| Method Detail |
|---|
public void del(int pos)
pos - deletion positionpublic void add(Nod n)
n - node to be addedpublic Item finish()
public NodIter iter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||