public abstract class PrimitiveValueSerializer<T extends PrimitiveValue<?>> extends AbstractTypedValueSerializer<T>
valueType
Constructor and Description |
---|
PrimitiveValueSerializer(PrimitiveValueType variableType) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canWriteValue(TypedValue typedValue) |
String |
getName()
The name of this serializer.
|
PrimitiveValueType |
getType()
The
VariableType supported |
abstract T |
readValue(ValueFields valueFields) |
T |
readValue(ValueFields valueFields,
boolean deserializeObjectValue)
Retrieve a
TypedValue from the provided ValueFields . |
canHandle, getSerializationDataformat, isMutableValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToTypedValue, writeValue
public PrimitiveValueSerializer(PrimitiveValueType variableType)
public String getName()
TypedValueSerializer
public T readValue(ValueFields valueFields, boolean deserializeObjectValue)
TypedValueSerializer
TypedValue
from the provided ValueFields
.valueFields
- the ValueFields
to retrieve the value fromdeserializeObjectValue
- indicates whether a SerializableValue
should be deserialized.TypedValue
public abstract T readValue(ValueFields valueFields)
public PrimitiveValueType getType()
TypedValueSerializer
VariableType
supportedgetType
in interface TypedValueSerializer<T extends PrimitiveValue<?>>
getType
in class AbstractTypedValueSerializer<T extends PrimitiveValue<?>>
protected boolean canWriteValue(TypedValue typedValue)
canWriteValue
in class AbstractTypedValueSerializer<T extends PrimitiveValue<?>>
Copyright © 2018. All rights reserved.