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 booleancanReadValue(TypedValueField typedValueField)protected booleancanWriteValue(TypedValue typedValue)BytesValueconvertToTypedValue(UntypedValueImpl untypedValue)BytesValuereadValue(TypedValueField typedValueField)voidwriteValue(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:
readValuein classPrimitiveValueMapper<BytesValue>
-
writeValue
public void writeValue(BytesValue byteValue, TypedValueField typedValueField)
-
canWriteValue
protected boolean canWriteValue(TypedValue typedValue)
- Overrides:
canWriteValuein classPrimitiveValueMapper<BytesValue>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Overrides:
canReadValuein classPrimitiveValueMapper<BytesValue>
-
-