public class ByteArrayValueSerializer extends PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.BytesValue>
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
ByteArrayValueSerializer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue) |
org.camunda.bpm.engine.variable.value.BytesValue |
convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value.
|
org.camunda.bpm.engine.variable.value.BytesValue |
readValue(ValueFields valueFields) |
void |
writeValue(org.camunda.bpm.engine.variable.value.BytesValue variableValue,
ValueFields valueFields)
Serialize a
TypedValue to the ValueFields . |
getName, getType, readValue
canHandle, getSerializationDataformat, isMutableValue
public org.camunda.bpm.engine.variable.value.BytesValue convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
TypedValueSerializer
TypedValueSerializer
(by invocation of TypedValueSerializer.canHandle(TypedValue)
).untypedValue
- the untyped valuepublic org.camunda.bpm.engine.variable.value.BytesValue readValue(ValueFields valueFields)
readValue
in class PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.BytesValue>
public void writeValue(org.camunda.bpm.engine.variable.value.BytesValue variableValue, ValueFields valueFields)
TypedValueSerializer
TypedValue
to the ValueFields
.variableValue
- the TypedValue
to persistvalueFields
- the ValueFields
to which the value should be persistedprotected boolean canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue)
canWriteValue
in class PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.BytesValue>
Copyright © 2018. All rights reserved.