public abstract class AbstractTypedValueSerializer<T extends TypedValue> extends Object implements TypedValueSerializer<T>
Modifier and Type | Field and Description |
---|---|
static Set<String> |
BINARY_VALUE_TYPES |
protected ValueType |
valueType |
Constructor and Description |
---|
AbstractTypedValueSerializer(ValueType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(TypedValue value)
Used for auto-detecting the value type of a variable.
|
protected abstract boolean |
canWriteValue(TypedValue value) |
String |
getSerializationDataformat() |
ValueType |
getType()
The
VariableType supported |
boolean |
isMutableValue(T typedValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToTypedValue, getName, readValue, writeValue
protected ValueType valueType
public AbstractTypedValueSerializer(ValueType type)
public ValueType getType()
TypedValueSerializer
VariableType
supportedgetType
in interface TypedValueSerializer<T extends TypedValue>
public String getSerializationDataformat()
getSerializationDataformat
in interface TypedValueSerializer<T extends TypedValue>
public boolean canHandle(TypedValue value)
TypedValueSerializer
canHandle
in interface TypedValueSerializer<T extends TypedValue>
value
- the valueTypedValueSerializer
is able to handle the provided valueprotected abstract boolean canWriteValue(TypedValue value)
public boolean isMutableValue(T typedValue)
isMutableValue
in interface TypedValueSerializer<T extends TypedValue>
Copyright © 2021. All rights reserved.