Class ByteArrayValueMapper
- java.lang.Object
-
- org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper<T>
-
- org.camunda.bpm.client.variable.impl.mapper.PrimitiveValueMapper<BytesValue>
-
- org.camunda.bpm.client.variable.impl.mapper.ByteArrayValueMapper
-
- All Implemented Interfaces:
ValueMapper<BytesValue>
public class ByteArrayValueMapper extends PrimitiveValueMapper<BytesValue>
- Author:
- Tom Baeyens, Daniel Meyer
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
valueType
-
-
Constructor Summary
Constructors Constructor Description ByteArrayValueMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canReadValue(TypedValueField typedValueField)
protected boolean
canWriteValue(TypedValue typedValue)
BytesValue
convertToTypedValue(UntypedValueImpl untypedValue)
BytesValue
readValue(TypedValueField typedValueField)
void
writeValue(BytesValue byteValue, TypedValueField typedValueField)
-
Methods inherited from class org.camunda.bpm.client.variable.impl.mapper.PrimitiveValueMapper
getType, isAssignable, readValue
-
Methods inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
canHandleTypedValue, canHandleTypedValueField, getSerializationDataformat
-
-
-
-
Method Detail
-
convertToTypedValue
public BytesValue convertToTypedValue(UntypedValueImpl untypedValue)
-
readValue
public BytesValue readValue(TypedValueField typedValueField)
- Specified by:
readValue
in classPrimitiveValueMapper<BytesValue>
-
writeValue
public void writeValue(BytesValue byteValue, TypedValueField typedValueField)
-
canWriteValue
protected boolean canWriteValue(TypedValue typedValue)
- Overrides:
canWriteValue
in classPrimitiveValueMapper<BytesValue>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Overrides:
canReadValue
in classPrimitiveValueMapper<BytesValue>
-
-