public final class StrStream extends Item implements Streamable
| Constructor and Description |
|---|
StrStream(IO io,
java.lang.String enc,
Err err)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool(InputInfo ii)
Returns a boolean representation of the value.
|
int |
diff(InputInfo ii,
Item it)
Returns the difference between the current and the specified item.
|
boolean |
eq(InputInfo ii,
Item it)
Checks the items for equality.
|
NewlineInput |
input(InputInfo ii)
Returns an input stream.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
java.lang.String |
toJava()
Returns a Java representation of the value.
|
java.lang.String |
toString() |
comparable, dbl, dec, ebv, equiv, flt, hash, homogenous, isItem, item, itemAt, iter, iterable, itr, plan, score, score, serialize, size, test, type, writeTo, xdmInfocache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCalls, sameAspublic byte[] string(InputInfo ii) throws QueryException
Itemstring in class Itemii - input info, use null if none is availableQueryException - if the item can't be atomizedpublic boolean bool(InputInfo ii) throws QueryException
Itembool in class Itemii - input infoQueryException - query exceptionpublic boolean eq(InputInfo ii, Item it) throws QueryException
Itemeq in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic int diff(InputInfo ii, Item it) throws QueryException
Itemdiff in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic java.lang.String toJava()
throws QueryException
ValuetoJava in class ValueQueryException - query exceptionpublic NewlineInput input(InputInfo ii) throws QueryException
Iteminput in interface Streamableinput in class Itemii - input infoQueryException - query exception