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