Constructor and Description |
---|
Hex(Bin bin,
InputInfo ii)
Constructor.
|
Hex(byte[] value)
Constructor.
|
Hex(byte[] value,
InputInfo ii)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] d,
InputInfo ii)
Converts the input into a byte array.
|
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.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
String |
toString() |
atomItem, atomItem, atomSize, atomValue, bool, comparable, dbl, dec, description, ebv, equiv, flt, hash, homogeneous, item, itemAt, iter, iterable, itr, materialize, 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, typeCheck, uses, visitAll
public Hex(byte[] value)
value
- bytespublic Hex(byte[] value, InputInfo ii) throws QueryException
value
- textual representationii
- input infoQueryException
- query exceptionpublic Hex(Bin bin, InputInfo ii) throws QueryException
bin
- binary dataii
- input infoQueryException
- query exceptionpublic 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 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 static byte[] decode(byte[] d, InputInfo ii) throws QueryException
d
- textual dataii
- input infoQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.