public class NullValueSerializer extends AbstractTypedValueSerializer<org.camunda.bpm.engine.variable.impl.value.NullValueImpl>
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
NullValueSerializer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue value) |
org.camunda.bpm.engine.variable.impl.value.NullValueImpl |
convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value.
|
String |
getName()
The name of this serializer.
|
org.camunda.bpm.engine.variable.impl.value.NullValueImpl |
readValue(ValueFields valueFields,
boolean deserialize)
Retrieve a
TypedValue from the provided ValueFields . |
void |
writeValue(org.camunda.bpm.engine.variable.impl.value.NullValueImpl value,
ValueFields valueFields)
Serialize a
TypedValue to the ValueFields . |
canHandle, getSerializationDataformat, getType, isMutableValue
public String getName()
TypedValueSerializer
public org.camunda.bpm.engine.variable.impl.value.NullValueImpl convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
TypedValueSerializer
TypedValueSerializer
(by invocation of TypedValueSerializer.canHandle(TypedValue)
).untypedValue
- the untyped valuepublic void writeValue(org.camunda.bpm.engine.variable.impl.value.NullValueImpl value, ValueFields valueFields)
TypedValueSerializer
TypedValue
to the ValueFields
.value
- the TypedValue
to persistvalueFields
- the ValueFields
to which the value should be persistedpublic org.camunda.bpm.engine.variable.impl.value.NullValueImpl readValue(ValueFields valueFields, boolean deserialize)
TypedValueSerializer
TypedValue
from the provided ValueFields
.valueFields
- the ValueFields
to retrieve the value fromdeserialize
- indicates whether a SerializableValue
should be deserialized.TypedValue
protected boolean canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue value)
canWriteValue
in class AbstractTypedValueSerializer<org.camunda.bpm.engine.variable.impl.value.NullValueImpl>
Copyright © 2018. All rights reserved.