|
||||||||||
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 valuepublic DNode(Data d, int p, Nod r, Type t)
d
- data referencep
- pre valuer
- parent referencet
- node typeMethod 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 Item
ser
- serializer
java.io.IOException
- exceptionpublic java.lang.String toString()
toString
in class Item
public byte[] nname()
Nod
nname
in class Nod
public QNm qname()
Nod
qname
in class Nod
public QNm qname(QNm name)
Nod
qname
in class Nod
name
- temporary qname
public Atts ns()
Nod
ns
in class Nod
public byte[] base()
Nod
base
in class Nod
public boolean is(Nod nod)
Nod
is
in class Nod
nod
- node to be compared
public int diff(Nod nod)
Nod
diff
in class Nod
nod
- node to be compared
public DNode copy()
Nod
copy
in class Nod
public DNode finish()
Nod
finish
in class Nod
public Nod parent()
Nod
parent
in class Nod
public void parent(Nod p)
Nod
parent
in class Nod
p
- parent nodepublic NodeIter attr()
Nod
attr
in class Nod
public NodeMore child()
Nod
child
in class Nod
public NodeIter desc()
Nod
desc
in class Nod
public NodeIter descOrSelf()
Nod
descOrSelf
in class Nod
public void plan(Serializer ser) throws java.io.IOException
ExprInfo
plan
in class Item
ser
- serializer
java.io.IOException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |