public abstract class UnicodeValue extends StringValue
EMPTY, IS_DOUBLE, IS_LONG, IS_STRING, MIN_LENGTH
L, NULL_ARGS, NULL_VALUE_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
UnicodeValue() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUnicode()
Returns true for UnicodeValue
|
java.lang.String |
toDebugString() |
java.io.InputStream |
toInputStream()
Returns a byteArrayInputStream for the value.
|
java.io.Reader |
toReader(java.lang.String charset)
Returns a char stream.
|
java.lang.String |
toString(java.lang.String charset) |
StringValue |
toStringBuilder()
Converts to a string builder
|
StringValue |
toUnicodeValue()
Convert to a unicode value.
|
StringValue |
toUnicodeValue(Env env)
Convert to a unicode value.
|
StringValue |
toUnicodeValue(Env env,
java.lang.String charset)
Decodes from charset and returns UnicodeValue.
|
int |
toUnicodeValueMarshalCost()
Cost to convert to a UnicodeValue
|
void |
varDumpImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet) |
add, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendByte, appendBytes, appendBytes, appendBytes, appendBytes, appendRead, appendRead, appendReadAll, appendReadAll, appendReadAll, appendTo, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUtf8, appendUtf8, bitAnd, bitOr, bitXor, charAt, charValueAt, cmp, cmpString, convertToUnicode, create, create, create, create, createStringBuilder, createStringBuilder, endsWith, ensureAppendCapacity, eq, equals, equalsIgnoreCase, equalsString, equalsStringIgnoreCase, generate, get, getArg, getChars, getCrc32Value, getOutputStream, getRawCharArray, getType, getValueType, hashCode, hashCodeCaseInsensitive, increment, indexOf, indexOf, indexOf, indexOf, intern, isCallable, isDoubleConvertible, isEmpty, isLongConvertible, isNumber, isNumeric, isScalar, isset, isString, jsonEncode, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, length, putThisFieldArray, regionMatches, regionMatches, regionMatchesIgnoreCase, serialize, setCharValueAt, setLength, startsWith, stringSubstring, sub, subSequence, substring, substring, toAutoArray, toAutoObject, toBinaryValueMarshalCost, toBoolean, toByteMarshalCost, toBytes, toCallable, toCharArray, toCharArrayMarshalCost, toCharMarshalCost, toDouble, toDouble, toDoubleMarshalCost, toFloatMarshalCost, toIntegerMarshalCost, toJavaObject, toKey, toLong, toLongMarshalCost, toLowerCase, toLowerCase, toShortMarshalCost, toSimpleReader, toStringBuilder, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, toUpperCase, toUpperCase, valuesToArray, varExportImpl, write, write, writeTo
abs, add, addOne, appendTo, appendTo, appendTo, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, checkPrivate, checkProtected, clone, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eql, eqValue, findFunction, findQuercusClass, geq, get, getArgTail, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getKeyArray, getKeyIterator, getObject, getObject, getObjectHash, getQuercusClass, getRef, getResourceType, getSize, getStaticFieldValue, getStaticFieldVar, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getValueArray, getValueIterator, getVar, gt, hasCurrent, initField, initField, initField, initIncompleteField, isA, isA, isArray, isBinary, isBoolean, isDefault, isDouble, isEmpty, isFieldExists, isFieldInit, isLong, isNull, isNumberConvertible, isObject, isResource, isset, issetField, issetThisField, isVar, key, keyExists, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, print, printDepth, printJavaChar, printJavaString, printR, printRImpl, put, put, put, putArray, putField, putField, putField, putObject, putThisField, putThisField, putVar, remove, reset, rshift, serialize, set, setFieldInit, setJavaObject, setStaticFieldRef, shuffle, sub_rev, sub, subOne, toArgRef, toArray, toArrayValue, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBooleanMarshalCost, toByteArrayMarshalCost, toChar, toDouble, toDouble, toDouble, toDouble, toDoubleValue, toException, toInt, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaEnum, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaMap, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLong, toLong, toLong, toLong, toLong, toLongValue, toObject, toRef, toRefValue, toString, toStringBuilder, toStringBuilder, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, unsetThisPrivateField, varDump, varExport
public java.lang.String toDebugString()
toDebugString
in class StringValue
public void varDumpImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
varDumpImpl
in class StringValue
java.io.IOException
public StringValue toUnicodeValue()
toUnicodeValue
in class Value
public StringValue toUnicodeValue(Env env)
toUnicodeValue
in class Value
public StringValue toUnicodeValue(Env env, java.lang.String charset)
toUnicodeValue
in class StringValue
env
- charset
- public StringValue toStringBuilder()
toStringBuilder
in class Value
public boolean isUnicode()
public int toUnicodeValueMarshalCost()
toUnicodeValueMarshalCost
in class Value
public java.io.InputStream toInputStream()
StringValue
toInputStream
in class StringValue
public java.io.Reader toReader(java.lang.String charset)
StringValue
toReader
in class StringValue
charset
- to decode bytes bypublic java.lang.String toString(java.lang.String charset)
toString
in class StringValue