public interface VariableSerializers
TypedValueSerializer
s of variables.Modifier and Type | Method and Description |
---|---|
VariableSerializers |
addSerializer(TypedValueSerializer<?> serializer) |
VariableSerializers |
addSerializer(TypedValueSerializer<?> serializer,
int index)
Add type at the given index.
|
TypedValueSerializer |
findSerializerForValue(TypedValue value)
Selects the
TypedValueSerializer which should be used for persisting a VariableValue. |
TypedValueSerializer<?> |
getSerializerByName(String serializerName) |
int |
getSerializerIndex(TypedValueSerializer<?> serializer) |
int |
getSerializerIndexByName(String serializerName) |
VariableSerializers |
removeSerializer(TypedValueSerializer<?> serializer) |
TypedValueSerializer findSerializerForValue(TypedValue value)
TypedValueSerializer
which should be used for persisting a VariableValue.value
- the value to persistTypedValueSerializer<?> getSerializerByName(String serializerName)
VariableSerializers addSerializer(TypedValueSerializer<?> serializer)
VariableSerializers addSerializer(TypedValueSerializer<?> serializer, int index)
VariableSerializers removeSerializer(TypedValueSerializer<?> serializer)
int getSerializerIndex(TypedValueSerializer<?> serializer)
int getSerializerIndexByName(String serializerName)
Copyright © 2018. All rights reserved.