|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Nod
org.basex.query.xquery.item.DNode
public final class DNode
Disk-based Node item.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
|---|
Expr.Return, Expr.Using |
| Field Summary | |
|---|---|
Data |
data
Data reference. |
int |
pre
Pre value. |
Nod |
root
Root node (constructor). |
| Fields inherited from class org.basex.query.xquery.item.Item |
|---|
type |
| Constructor Summary | |
|---|---|
DNode(Data d,
int p)
Constructor. |
|
DNode(Data d,
int p,
Nod r,
Type t)
Constructor. |
|
| Method Summary | |
|---|---|
NodeIter |
attr()
Returns an attribute axis iterator. |
byte[] |
base()
Returns the database name. |
NodeMore |
child()
Returns a child axis iterator. |
DNode |
copy()
Creates a new copy (clone) of the node. |
NodeIter |
desc()
Returns a descendant axis iterator. |
NodeIter |
descOrSelf()
Returns a descendant-or-self axis iterator. |
int |
diff(Nod nod)
Compares two nodes for their unique order. |
DNode |
finish()
Returns a final node representation. |
boolean |
is(Nod nod)
Compares two nodes for equality. |
byte[] |
nname()
Returns the node name. |
Atts |
ns()
Returns a namespace array. |
Nod |
parent()
Returns the parent node. |
void |
parent(Nod p)
Sets the parent node. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
QNm |
qname()
Returns the node name. |
QNm |
qname(QNm name)
Returns a temporary node name. |
void |
serialize(Serializer ser)
Serializes the item. |
void |
set(int p,
int k)
Sets the node type. |
byte[] |
str()
Returns an atomized string. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.item.Nod |
|---|
anc, ancOrSelf, bool, dbl, dec, diff, eq, flt, foll, follSibl, itr, java, par, prec, precSibl, self |
| Methods inherited from class org.basex.query.xquery.item.Item |
|---|
castErr, comp, d, hash, i, iter, iter, n, name, node, returned, s, score, score, size, u, uses |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
e |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Nod root
public Data data
public int pre
| Constructor Detail |
|---|
public DNode(Data d,
int p)
d - data referencep - pre value
public DNode(Data d,
int p,
Nod r,
Type t)
d - data referencep - pre valuer - parent referencet - node type| Method Detail |
|---|
public void set(int p,
int k)
p - pre valuek - node kindpublic byte[] str()
Item
str in class Item
public void serialize(Serializer ser)
throws java.io.IOException
Item
serialize in class Itemser - serializer
java.io.IOException - exceptionpublic java.lang.String toString()
toString in class Itempublic byte[] nname()
Nod
nname in class Nodpublic QNm qname()
Nod
qname in class Nodpublic QNm qname(QNm name)
Nod
qname in class Nodname - temporary qname
public Atts ns()
Nod
ns in class Nodpublic byte[] base()
Nod
base in class Nodpublic boolean is(Nod nod)
Nod
is in class Nodnod - node to be compared
public int diff(Nod nod)
Nod
diff in class Nodnod - node to be compared
public DNode copy()
Nod
copy in class Nodpublic DNode finish()
Nod
finish in class Nodpublic Nod parent()
Nod
parent in class Nodpublic void parent(Nod p)
Nod
parent in class Nodp - parent nodepublic NodeIter attr()
Nod
attr in class Nodpublic NodeMore child()
Nod
child in class Nodpublic NodeIter desc()
Nod
desc in class Nodpublic NodeIter descOrSelf()
Nod
descOrSelf in class Nod
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class Itemser - serializer
java.io.IOException - exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||