|
||||||||||
| 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.Jav
public final class Jav
String item.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
|---|
Expr.Return, Expr.Using |
| Field Summary | |
|---|---|
java.lang.Object |
val
Java object. |
| Fields inherited from class org.basex.query.xquery.item.Item |
|---|
type |
| Constructor Summary | |
|---|---|
Jav(java.lang.Object v)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
bool()
Returns a boolean representation of the item. |
double |
dbl()
Returns a double representation of the item. |
java.math.BigDecimal |
dec()
Returns a decimal 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. |
float |
flt()
Returns a float representation of the item. |
long |
itr()
Returns an integer (long) representation of the item. |
java.lang.Object |
java()
Returns a Java object. |
byte[] |
str()
Returns an atomized string. |
java.lang.String |
toString()
|
| 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, 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 java.lang.Object val
| Constructor Detail |
|---|
public Jav(java.lang.Object v)
v - value| Method Detail |
|---|
public byte[] str()
Item
str in class Itempublic boolean bool()
Item
bool in class Item
public long itr()
throws XQException
Item
itr in class ItemXQException - evaluation exception
public float flt()
throws XQException
Item
flt in class ItemXQException - evaluation exception
public double dbl()
throws XQException
Item
dbl in class ItemXQException - evaluation exception
public java.math.BigDecimal dec()
throws XQException
Item
dec in class ItemXQException - evaluation exception
public boolean eq(Item it)
throws XQException
Item
eq in class Itemit - item to be compared.
XQException - evaluation exception
public int diff(Item it)
throws XQException
Item
diff in class Itemit - item to be compared.
XQException - evaluation exceptionpublic java.lang.Object java()
Item
java in class Itempublic java.lang.String toString()
toString in class Item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||