Constructor and Description |
---|
Jav(Object value,
QueryContext qc)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
bool(InputInfo ii)
Returns a boolean representation of the value.
|
int |
diff(Item it,
Collation coll,
InputInfo ii)
Returns the difference between the current and the specified item.
|
boolean |
eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii)
Checks the items for equality.
|
Str |
materialize(InputInfo ii)
Materializes streamable values, or returns a self reference.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
Object |
toJava()
Returns a Java representation of the value.
|
String |
toString() |
atomItem, atomItem, atomSize, atomValue, comparable, dbl, dec, description, ebv, equiv, flt, hash, homogeneous, input, item, itemAt, iter, iterable, itr, plan, score, score, seqType, size, test, typeId, writeTo, xdmInfo
accept, atomValue, cache, checkUp, compile, copy, count, exprSize, has, inline, isValue, iter, iterator, removable, serialize, serialize, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, optimizeEbv, sameAs, typeCheck, uses, visitAll
public Jav(Object value, QueryContext qc)
value
- valueqc
- query contextpublic byte[] string(InputInfo ii) throws QueryException
Item
string
in class Item
ii
- input info, use null
if none is availableQueryException
- if the item can't be atomizedpublic Str materialize(InputInfo ii) throws QueryException
Value
materialize
in class Item
ii
- input infoQueryException
- query exceptionpublic boolean bool(InputInfo ii)
Item
public boolean eq(Item it, Collation coll, StaticContext sc, InputInfo ii) throws QueryException
Item
eq
in class Item
it
- item to be comparedcoll
- collationsc
- static contextii
- input infoQueryException
- query exceptionpublic int diff(Item it, Collation coll, InputInfo ii) throws QueryException
Item
diff
in class Item
it
- item to be comparedcoll
- query contextii
- input infoQueryException
- query exceptionpublic Object toJava()
Value
Copyright © 2005–2015 BaseX Team. All rights reserved.