Class DoubleDataTypeTransformer
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.type.DoubleDataTypeTransformer
-
- All Implemented Interfaces:
DmnDataTypeTransformer
public class DoubleDataTypeTransformer extends java.lang.Object implements DmnDataTypeTransformer
- Author:
- Philipp Ossler
-
-
Constructor Summary
Constructors Constructor Description DoubleDataTypeTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedValue
transform(java.lang.Object value)
Transform the given value.protected double
transformNumber(java.lang.Number value)
protected double
transformString(java.lang.String value)
-
-
-
Method Detail
-
transform
public TypedValue transform(java.lang.Object value) throws java.lang.IllegalArgumentException
Description copied from interface:DmnDataTypeTransformer
Transform the given value.- Specified by:
transform
in interfaceDmnDataTypeTransformer
- Parameters:
value
- of any type- Returns:
- value of the specific type
- Throws:
java.lang.IllegalArgumentException
- if the value can not be transformed
-
transformNumber
protected double transformNumber(java.lang.Number value)
-
transformString
protected double transformString(java.lang.String value)
-
-