|
|||||||||
| 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.Seq
public class Seq
Item sequence.
| Field Summary | |
|---|---|
static Seq |
EMPTY
Empty sequence. |
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
Seq(Item[] v)
Constructor. |
|
Seq(Item[] v,
int s)
Constructor. |
|
Seq(Type t)
Constructor. |
|
| 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 |
e()
Returns if this is an empty sequence. |
boolean |
eq(Item it)
Checks the items for equality. |
Iter |
iter()
Returns an iterator. |
int |
size()
Returns the sequence size or 0. |
byte[] |
str()
Returns an atomized string. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.item.Item |
|---|
castErr, comp, dbl, eval, flt, i, info, itr, serialize, serialize |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, n, node, s, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Seq EMPTY
| Constructor Detail |
|---|
public Seq(Item[] v)
v - value
public Seq(Item[] v,
int s)
v - values - sizepublic Seq(Type t)
t - data type| Method Detail |
|---|
public boolean bool()
throws XQException
Item
bool in class ItemXQException - evaluation exceptionpublic final int diff(Item it)
Item
diff in class Itemit - item to be compared.
public boolean e()
Expr
e in class Expr
public final boolean eq(Item it)
throws XQException
Item
eq in class Itemit - item to be compared.
XQException - evaluation exceptionpublic Iter iter()
Item
iter in class Itempublic int size()
Expr
size in class Itempublic final byte[] str()
Expr
str in class Exprpublic java.lang.String toString()
toString in class Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||