|
||||||||||
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.Seq
public class Seq
Item sequence.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
---|
Expr.Return, Expr.Using |
Field Summary | |
---|---|
static Seq |
EMPTY
Empty sequence. |
int |
size
Number of entries. |
Item[] |
val
Item array. |
Fields inherited from class org.basex.query.xquery.item.Item |
---|
type |
Method Summary | |
---|---|
boolean |
bool()
Returns a boolean representation of the item. |
int |
diff(Item it)
Returns the difference between the current and the specified item. |
boolean |
eq(Item it)
Checks the items for equality. |
static Item |
get(Item[] v,
int s)
Constructor. |
boolean |
i()
Checks if this is an item. |
Iter |
iter()
Returns an item iterator. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
int |
size()
Returns the sequence size or 1. |
byte[] |
str()
Returns an atomized string. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.xquery.item.Item |
---|
castErr, comp, d, dbl, dec, flt, hash, iter, itr, java, n, name, node, returned, s, score, score, serialize, 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 static final Seq EMPTY
public Item[] val
public int size
Method Detail |
---|
public static Item get(Item[] v, int s)
v
- values
- size
public final boolean i()
Expr
i
in class Item
public int size()
Item
size
in class Item
public byte[] str()
Item
str
in class Item
public boolean bool() throws XQException
Item
bool
in class Item
XQException
- evaluation exceptionpublic Iter iter()
Item
iter
in class Item
public boolean eq(Item it) throws XQException
Item
eq
in class Item
it
- item to be compared.
XQException
- evaluation exceptionpublic int diff(Item it)
Item
diff
in class Item
it
- item to be compared.
public java.lang.String toString()
toString
in class Item
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 |