org.camunda.bpm.dmn.engine.impl.type
Class BooleanDataTypeTransformer

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.type.BooleanDataTypeTransformer
All Implemented Interfaces:
DataTypeTransformer

public class BooleanDataTypeTransformer
extends Object
implements DataTypeTransformer

Transform values of type String into Boolean.

Author:
Philipp Ossler

Constructor Summary
BooleanDataTypeTransformer()
           
 
Method Summary
 Object transform(Object value)
          Transform the given value.
protected  Boolean transformString(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanDataTypeTransformer

public BooleanDataTypeTransformer()
Method Detail

transform

public Object transform(Object value)
                 throws IllegalArgumentException
Description copied from interface: DataTypeTransformer
Transform the given value.

Specified by:
transform in interface DataTypeTransformer
Parameters:
value - of any type
Returns:
value of the specific type
Throws:
IllegalArgumentException - if the value can not be transformed

transformString

protected Boolean transformString(String value)


Copyright © 2015 camunda services GmbH. All rights reserved.