public class StringValueSerializer extends PrimitiveValueSerializer<StringValue>
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
StringValueSerializer() |
Modifier and Type | Method and Description |
---|---|
StringValue |
convertToTypedValue(UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value.
|
StringValue |
readValue(ValueFields valueFields) |
void |
writeValue(StringValue variableValue,
ValueFields valueFields)
Serialize a
TypedValue to the ValueFields . |
canWriteValue, getName, getType, readValue
canHandle, getSerializationDataformat, isMutableValue
public StringValue convertToTypedValue(UntypedValueImpl untypedValue)
TypedValueSerializer
TypedValueSerializer
(by invocation of TypedValueSerializer.canHandle(TypedValue)
).untypedValue
- the untyped valuepublic StringValue readValue(ValueFields valueFields)
readValue
in class PrimitiveValueSerializer<StringValue>
public void writeValue(StringValue variableValue, ValueFields valueFields)
TypedValueSerializer
TypedValue
to the ValueFields
.variableValue
- the TypedValue
to persistvalueFields
- the ValueFields
to which the value should be persistedCopyright © 2019. All rights reserved.