|
||||||||||
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.expr.Expr
org.basex.query.item.Item
org.basex.query.item.Jav
public final class Jav
String item.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Use |
Field Summary | |
---|---|
Object |
val
Java object. |
Fields inherited from class org.basex.query.item.Item |
---|
score, type |
Constructor Summary | |
---|---|
Jav(Object v)
Constructor. |
Method Summary | |
---|---|
boolean |
bool()
Returns a boolean representation of the item. |
double |
dbl()
Returns a double representation of the item. |
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. |
Object |
java()
Returns a Java object. |
byte[] |
str()
Returns an atomized string. |
String |
toString()
|
Methods inherited from class org.basex.query.item.Item |
---|
atomic, comp, d, duplicates, ebv, hashCode, i, iter, iter, n, name, node, plan, removable, returned, s, score, score, serialize, size, test, u, uses |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, checkCtx, checkDbl, checkItr, e, indexAccessible, indexEquivalent, remove, sameAs, v |
Methods inherited from class org.basex.query.ExprInfo |
---|
color, info |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Object val
Constructor Detail |
---|
public Jav(Object v)
v
- valueMethod Detail |
---|
public byte[] str()
Item
str
in class Item
public boolean bool()
Item
bool
in class Item
public long itr() throws QueryException
Item
itr
in class Item
QueryException
- query exceptionpublic float flt() throws QueryException
Item
flt
in class Item
QueryException
- query exceptionpublic double dbl() throws QueryException
Item
dbl
in class Item
QueryException
- query exceptionpublic BigDecimal dec() throws QueryException
Item
dec
in class Item
QueryException
- query exceptionpublic boolean eq(Item it)
Item
eq
in class Item
it
- item to be compared
public int diff(Item it)
Item
diff
in class Item
it
- item to be compared
public Object java()
Item
java
in class Item
public String toString()
toString
in class Item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |