|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Node
public abstract class Node
Node Type.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Method Summary | |
|---|---|
abstract NodeIter |
anc()
Returns an ancestor axis iterator. |
abstract NodeIter |
ancOrSelf()
Returns an ancestor-or-self axis iterator. |
abstract NodeIter |
attr()
Returns an attribute axis iterator. |
byte[] |
base()
Returns the database name. |
boolean |
bool()
Returns a boolean representation of the item. |
abstract NodeMore |
child()
Returns a child axis iterator. |
abstract Node |
copy()
Creates a new copy (clone) of the node. |
double |
dbl()
Returns a double representation of the item. |
abstract NodeIter |
desc()
Returns a descendant axis iterator. |
abstract NodeIter |
descOrSelf()
Returns a descendant-or-self axis iterator. |
int |
diff(Item i)
Returns the difference between the current and the specified item. |
int |
diff(Node nod)
Compares two nodes for their unique order. |
boolean |
eq(Item i)
Checks the items for equality. |
Node |
finish()
Returns a final node representation. |
float |
flt()
Returns a float representation of the item. |
abstract NodeIter |
foll()
Returns a following axis iterator. |
abstract NodeIter |
follSibl()
Returns a following-sibling axis iterator. |
boolean |
is(Node nod)
Compares two nodes for equality. |
long |
itr()
Returns a numeric (long) representation of the item. |
byte[] |
name()
Returns the node name. |
boolean |
node()
Checks if this is a node. |
FAttr[] |
ns()
Returns a namespace array. |
abstract NodeIter |
par()
Returns a parent axis iterator. |
Node |
parent()
Returns the parent node. |
void |
parent(Node p)
Sets the parent node. |
abstract NodeIter |
prec()
Returns a preceding axis iterator. |
abstract NodeIter |
precSibl()
Returns a preceding-sibling axis iterator. |
QNm |
qname()
Returns the node name. |
abstract NodeIter |
self()
Returns an self axis iterator. |
boolean |
u()
Checks if this is an untyped item. |
| Methods inherited from class org.basex.query.xquery.item.Item |
|---|
castErr, comp, eval, i, info, iter, serialize, serialize, size, toString |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, n, s, str |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public abstract NodeIter anc()
public abstract NodeIter ancOrSelf()
public abstract NodeIter attr()
public byte[] base()
public final boolean bool()
Item
bool in class Itempublic abstract NodeMore child()
public abstract Node copy()
throws XQException
XQException - evaluation exception
public final double dbl()
throws XQException
Item
dbl in class ItemXQException - evaluation exceptionpublic abstract NodeIter desc()
public abstract NodeIter descOrSelf()
public final int diff(Item i)
throws XQException
Item
diff in class Itemi - item to be compared.
XQException - evaluation exceptionpublic int diff(Node nod)
nod - node to be compared
public final boolean eq(Item i)
throws XQException
Item
eq in class Itemi - item to be compared.
XQException - evaluation exceptionpublic Node finish()
public final float flt()
throws XQException
Item
flt in class ItemXQException - evaluation exceptionpublic abstract NodeIter foll()
public abstract NodeIter follSibl()
public boolean is(Node nod)
nod - node to be compared
public final long itr()
throws XQException
Item
itr in class ItemXQException - evaluation exceptionpublic byte[] name()
public final boolean node()
Expr
node in class Exprpublic FAttr[] ns()
public abstract NodeIter par()
public Node parent()
public void parent(Node p)
p - parent nodepublic abstract NodeIter prec()
public abstract NodeIter precSibl()
public QNm qname()
public abstract NodeIter self()
public final boolean u()
Expr
u in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||