|
||||||||||
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
public abstract class Nod
Node Type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
---|
Expr.Return, Expr.Using |
Field Summary |
---|
Fields inherited from class org.basex.query.xquery.item.Item |
---|
type |
Method Summary | |
---|---|
NodeIter |
anc()
Returns an ancestor axis iterator. |
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 Nod |
copy()
Creates a new copy (clone) of the node. |
double |
dbl()
Returns a double representation of the item. |
java.math.BigDecimal |
dec()
Returns a decimal 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(Nod nod)
Compares two nodes for their unique order. |
boolean |
eq(Item i)
Checks the items for equality. |
Nod |
finish()
Returns a final node representation. |
float |
flt()
Returns a float representation of the item. |
NodeIter |
foll()
Returns a following axis iterator. |
NodeIter |
follSibl()
Returns a following-sibling axis iterator. |
boolean |
is(Nod nod)
Compares two nodes for equality. |
long |
itr()
Returns an integer (long) representation of the item. |
BXNode |
java()
Returns a Java object. |
byte[] |
nname()
Returns the node name. |
Atts |
ns()
Returns a namespace array. |
NodeIter |
par()
Returns a parent axis iterator. |
Nod |
parent()
Returns the parent node. |
void |
parent(Nod p)
Sets the parent node. |
NodeIter |
prec()
Returns a preceding axis iterator. |
NodeIter |
precSibl()
Returns a preceding-sibling axis iterator. |
QNm |
qname()
Returns the node name. |
QNm |
qname(QNm nm)
Returns a temporary node name. |
NodeMore |
self()
Returns an self axis iterator. |
Methods inherited from class org.basex.query.xquery.item.Item |
---|
castErr, comp, d, hash, i, iter, iter, n, name, node, plan, returned, s, score, score, serialize, size, str, toString, 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 |
Method Detail |
---|
public final boolean bool()
Item
bool
in class Item
public final long itr() throws XQException
Item
itr
in class Item
XQException
- evaluation exceptionpublic final float flt() throws XQException
Item
flt
in class Item
XQException
- evaluation exceptionpublic java.math.BigDecimal dec() throws XQException
Item
dec
in class Item
XQException
- evaluation exceptionpublic final double dbl() throws XQException
Item
dbl
in class Item
XQException
- evaluation exceptionpublic final boolean eq(Item i) throws XQException
Item
eq
in class Item
i
- item to be compared.
XQException
- evaluation exceptionpublic final int diff(Item i) throws XQException
Item
diff
in class Item
i
- item to be compared.
XQException
- evaluation exceptionpublic abstract Nod copy()
public byte[] nname()
public QNm qname()
public QNm qname(QNm nm) throws XQException
nm
- temporary qname
XQException
- query exceptionpublic Atts ns()
public byte[] base()
public boolean is(Nod nod)
nod
- node to be compared
public int diff(Nod nod)
nod
- node to be compared
public Nod finish()
public Nod parent()
public void parent(Nod p)
p
- parent nodepublic final NodeIter anc()
public final NodeIter ancOrSelf()
public abstract NodeIter attr()
public abstract NodeMore child()
public abstract NodeIter desc()
public abstract NodeIter descOrSelf()
public final NodeIter foll()
public final NodeIter follSibl()
public NodeIter par()
public final NodeIter prec()
public final NodeIter precSibl()
public final NodeMore self()
public final BXNode java()
Item
java
in class Item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |