public class BinaryBuilderValue extends StringBuilderValue
Modifier and Type | Field and Description |
---|---|
static BinaryBuilderValue |
EMPTY |
IS_DOUBLE, IS_LONG, IS_STRING, MIN_LENGTH
L, NULL_ARGS, NULL_VALUE_ARRAY
Constructor and Description |
---|
BinaryBuilderValue() |
BinaryBuilderValue(BinaryBuilderValue v) |
BinaryBuilderValue(byte ch) |
BinaryBuilderValue(byte[] buffer) |
BinaryBuilderValue(byte[] buffer,
int offset,
int length) |
BinaryBuilderValue(char[] buffer) |
BinaryBuilderValue(char[] s,
Value v1) |
BinaryBuilderValue(int capacity) |
BinaryBuilderValue(java.lang.String s) |
BinaryBuilderValue(TempBuffer head) |
Modifier and Type | Method and Description |
---|---|
StringValue |
append(BinaryBuilderValue sb,
int head,
int tail)
Append a Java buffer to the value.
|
StringValue |
appendTo(UnicodeBuilderValue sb)
Append to a string builder.
|
StringValue |
appendUnicode(boolean v)
Append a Java boolean to the value.
|
StringValue |
appendUnicode(char ch)
Append a Java char to the value.
|
StringValue |
appendUnicode(char[] buf,
int offset,
int length)
Append a Java buffer to the value.
|
StringValue |
appendUnicode(double v)
Append a Java double to the value.
|
StringValue |
appendUnicode(long v)
Append a Java long to the value.
|
StringValue |
appendUnicode(java.lang.Object v)
Append a Java object to the value.
|
StringValue |
appendUnicode(java.lang.String s)
Append a Java string to the value.
|
StringValue |
appendUnicode(java.lang.String s,
int start,
int end)
Append a Java string to the value.
|
StringValue |
appendUnicode(Value value)
Append a value to the value.
|
Value |
charValueAt(long index)
Returns the character at an index
|
static StringValue |
create(char value)
Creates the string.
|
static StringValue |
create(int value)
Creates the string.
|
BinaryBuilderValue |
createStringBuilder()
Creates a string builder of the same type.
|
BinaryBuilderValue |
createStringBuilder(byte[] buffer,
int offset,
int length)
Creates a string builder of the same type.
|
BinaryBuilderValue |
createStringBuilder(int length)
Creates a string builder of the same type.
|
java.lang.String |
getType()
Returns the type.
|
boolean |
isBinary()
Returns true for a BinaryValue.
|
java.lang.CharSequence |
subSequence(int start,
int end)
Returns a subsequence
|
int |
toBinaryValueMarshalCost()
Cost to convert to a binary value
|
int |
toByteArrayMarshalCost()
Cost to convert to a byte[]
|
int |
toByteMarshalCost()
Cost to convert to a byte
|
int |
toCharArrayMarshalCost()
Cost to convert to a char[]
|
java.lang.String |
toDebugString() |
StringValue |
toLowerCase(java.util.Locale locale)
Convert to lower case.
|
StringValue |
toStringBuilder()
Converts to a string builder
|
StringValue |
toStringBuilder(Env env)
Converts to a string builder
|
StringValue |
toStringBuilder(Env env,
StringValue value)
Converts to a string builder
|
StringValue |
toStringBuilder(Env env,
Value value)
Converts to a string builder
|
int |
toStringMarshalCost()
Cost to convert to a String
|
int |
toStringValueMarshalCost()
Cost to convert to a string value
|
StringValue |
toUnicode(Env env)
Converts to a Unicode, 16-bit string.
|
StringValue |
toUnicodeValue()
Converts to a UnicodeValue.
|
StringValue |
toUnicodeValue(Env env)
Converts to a UnicodeValue.
|
StringValue |
toUnicodeValue(Env env,
java.lang.String charset)
Converts to a UnicodeValue in desired charset.
|
StringValue |
toUpperCase()
Convert to lower case.
|
void |
varDumpImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet) |
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendByte, appendBytes, appendBytes, appendTo, appendTo, appendTo, appendUnicode, appendUnicode, appendUtf8, charAt, copyStringBuilder, create, create, ensureAppendCapacity, ensureCapacity, eq, eql, equals, equalsIgnoreCase, generate, get, getBuffer, getBufferLength, getCrc32Value, getHashCode, getOutputStream, getValue, getValueType, getValueType, hashCode, hashCodeCaseInsensitive, indexOf, indexOf, indexOf, isEmpty, isScalar, isset, length, print, print, put, regionMatches, regionMatchesIgnoreCase, serialize, setCharValueAt, setLength, stringSubstring, toBinaryValue, toBinaryValue, toBoolean, toBytes, toDouble, toDouble, toInputStream, toJavaObject, toKey, toLong, toString, write, write, writeTo
add, append, append, append, append, append, appendBytes, appendBytes, appendRead, appendRead, appendReadAll, appendReadAll, appendReadAll, appendUtf8, bitAnd, bitOr, bitXor, cmp, cmpString, convertToUnicode, create, create, endsWith, equalsString, equalsStringIgnoreCase, getArg, getChars, getRawCharArray, increment, indexOf, intern, isCallable, isDoubleConvertible, isLongConvertible, isNumber, isNumeric, isString, jsonEncode, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, putThisFieldArray, regionMatches, startsWith, sub, substring, substring, toAutoArray, toAutoObject, toCallable, toCharArray, toCharMarshalCost, toDouble, toDoubleMarshalCost, toFloatMarshalCost, toIntegerMarshalCost, toLong, toLongMarshalCost, toLowerCase, toReader, toShortMarshalCost, toSimpleReader, toString, toStringValue, toStringValue, toUpperCase, valuesToArray, varExportImpl
abs, add, addOne, 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, copyTree, current, div, div, end, eqValue, findFunction, findQuercusClass, geq, get, getArgTail, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, 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, isBoolean, isDefault, isDouble, isEmpty, isFieldExists, isFieldInit, isLong, isNull, isNumberConvertible, isObject, isResource, isset, issetField, issetThisField, isUnicode, isVar, key, keyExists, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, printDepth, printJavaChar, printJavaString, printR, printRImpl, 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, toBooleanMarshalCost, 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, toLongValue, toObject, toRef, toRefValue, toString, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, unsetThisPrivateField, varDump, varExport
public static final BinaryBuilderValue EMPTY
public BinaryBuilderValue()
public BinaryBuilderValue(BinaryBuilderValue v)
public BinaryBuilderValue(int capacity)
public BinaryBuilderValue(byte[] buffer, int offset, int length)
public BinaryBuilderValue(byte[] buffer)
public BinaryBuilderValue(java.lang.String s)
public BinaryBuilderValue(char[] buffer)
public BinaryBuilderValue(char[] s, Value v1)
public BinaryBuilderValue(TempBuffer head)
public BinaryBuilderValue(byte ch)
public static StringValue create(int value)
public static StringValue create(char value)
public java.lang.String getType()
getType
in class StringBuilderValue
public boolean isBinary()
public int toByteMarshalCost()
toByteMarshalCost
in class StringValue
public int toStringMarshalCost()
toStringMarshalCost
in class StringValue
public int toCharArrayMarshalCost()
toCharArrayMarshalCost
in class StringValue
public int toByteArrayMarshalCost()
toByteArrayMarshalCost
in class Value
public int toBinaryValueMarshalCost()
toBinaryValueMarshalCost
in class BinaryValue
public int toStringValueMarshalCost()
toStringValueMarshalCost
in class StringValue
public StringValue toUnicode(Env env)
toUnicode
in class StringValue
public StringValue toUnicodeValue()
toUnicodeValue
in class StringBuilderValue
public StringValue toUnicodeValue(Env env)
toUnicodeValue
in class StringBuilderValue
public StringValue toUnicodeValue(Env env, java.lang.String charset)
toUnicodeValue
in class StringBuilderValue
public StringValue toStringBuilder()
toStringBuilder
in class StringBuilderValue
public Value charValueAt(long index)
charValueAt
in class StringBuilderValue
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
subSequence
in class StringBuilderValue
public StringValue toLowerCase(java.util.Locale locale)
toLowerCase
in class StringBuilderValue
public StringValue toUpperCase()
toUpperCase
in class StringBuilderValue
public BinaryBuilderValue createStringBuilder()
createStringBuilder
in class StringBuilderValue
public BinaryBuilderValue createStringBuilder(int length)
createStringBuilder
in class StringBuilderValue
public BinaryBuilderValue createStringBuilder(byte[] buffer, int offset, int length)
createStringBuilder
in class StringBuilderValue
public StringValue toStringBuilder(Env env)
toStringBuilder
in class StringBuilderValue
public StringValue toStringBuilder(Env env, Value value)
toStringBuilder
in class StringBuilderValue
public StringValue toStringBuilder(Env env, StringValue value)
toStringBuilder
in class StringBuilderValue
public final StringValue append(BinaryBuilderValue sb, int head, int tail)
public final StringValue appendUnicode(char[] buf, int offset, int length)
appendUnicode
in class StringBuilderValue
public final StringValue appendUnicode(java.lang.String s)
appendUnicode
in class StringValue
public final StringValue appendUnicode(java.lang.String s, int start, int end)
appendUnicode
in class StringValue
public final StringValue appendUnicode(Value value)
appendUnicode
in class StringBuilderValue
public final StringValue appendUnicode(char ch)
appendUnicode
in class StringValue
public final StringValue appendUnicode(boolean v)
appendUnicode
in class StringValue
public StringValue appendUnicode(long v)
appendUnicode
in class StringValue
public StringValue appendUnicode(double v)
appendUnicode
in class StringValue
public StringValue appendUnicode(java.lang.Object v)
appendUnicode
in class StringValue
public StringValue appendTo(UnicodeBuilderValue sb)
appendTo
in class StringBuilderValue
public java.lang.String toDebugString()
toDebugString
in class StringBuilderValue
public void varDumpImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
varDumpImpl
in class StringBuilderValue
java.io.IOException