public class FallbackSpinObjectValueSerializer extends AbstractObjectValueSerializer
| Modifier and Type | Field and Description |
|---|---|
static String |
DESERIALIZED_OBJECTS_EXCEPTION_MESSAGE |
protected String |
serializationFormat |
serializationDataFormatBINARY_VALUE_TYPES, valueType| Constructor and Description |
|---|
FallbackSpinObjectValueSerializer(String serializationFormat) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canSerializeValue(Object value)
return true if this serializer is able to serialize the provided object.
|
protected Object |
deserializeFromByteArray(byte[] object,
String objectTypeName)
Deserialize the object from a byte array.
|
String |
getName()
The name of this serializer.
|
protected String |
getTypeNameForDeserialized(Object deserializedObject)
Returns the type name for the deserialized object.
|
protected boolean |
isSerializationTextBased()
Return true if the serialization is text based.
|
protected byte[] |
serializeToByteArray(Object deserializedObject)
Implementations must return a byte[] representation of the provided object.
|
convertToTypedValue, createDeserializedValue, createSerializedValue, deserializeFromByteArray, getObjectTypeName, isMutableValue, readObjectNameFromFields, updateTypedValue, writeToValueFieldscanWriteValue, getSerializationDataformat, getSerializedBytesValue, getSerializedStringValue, readSerializedValueFromFields, readValue, writeValuecanHandle, getTypepublic static final String DESERIALIZED_OBJECTS_EXCEPTION_MESSAGE
protected String serializationFormat
public FallbackSpinObjectValueSerializer(String serializationFormat)
public String getName()
TypedValueSerializerprotected String getTypeNameForDeserialized(Object deserializedObject)
AbstractObjectValueSerializergetTypeNameForDeserialized in class AbstractObjectValueSerializerprotected byte[] serializeToByteArray(Object deserializedObject) throws Exception
AbstractObjectValueSerializerserializeToByteArray in class AbstractObjectValueSerializerdeserializedObject - the object to serializeExceptionprotected Object deserializeFromByteArray(byte[] object, String objectTypeName) throws Exception
AbstractObjectValueSerializerdeserializeFromByteArray in class AbstractObjectValueSerializerobject - the object to deserializeobjectTypeName - the type name of the object to deserializeExceptionprotected boolean isSerializationTextBased()
AbstractObjectValueSerializerisSerializationTextBased in class AbstractObjectValueSerializerprotected boolean canSerializeValue(Object value)
AbstractSerializableValueSerializercanSerializeValue in class AbstractSerializableValueSerializer<org.camunda.bpm.engine.variable.value.ObjectValue>value - the object to test (guaranteed to be a non-null value)Copyright © 2022. All rights reserved.