org.camunda.bpm.engine.impl.transformer
Class AbstractTransformer

java.lang.Object
  extended by org.camunda.bpm.engine.impl.transformer.AbstractTransformer
All Implemented Interfaces:
Transformer
Direct Known Subclasses:
BigDecimalToString, BooleanToString, ComposedTransformer, DateToString, Identity, IntegerToLong, IntegerToString, LongToInteger, LongToString, StringToBigDecimal, StringToBoolean, StringToDate, StringToInteger, StringToLong

public abstract class AbstractTransformer
extends Object
implements Transformer

A Transformer is responsible of transforming an object into a different object

Author:
Esteban Robles Luna

Constructor Summary
AbstractTransformer()
           
 
Method Summary
protected abstract  Object primTransform(Object anObject)
          Transforms anObject into a different object
 Object transform(Object anObject)
          Transforms anObject into a different object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransformer

public AbstractTransformer()
Method Detail

transform

public Object transform(Object anObject)
Transforms anObject into a different object

Specified by:
transform in interface Transformer
Parameters:
anObject - the object to be transformed
Returns:
the transformed object

primTransform

protected abstract Object primTransform(Object anObject)
                                 throws Exception
Transforms anObject into a different object

Parameters:
anObject - the object to be transformed
Returns:
the transformed object
Throws:
Exception


Copyright © 2014 camunda services GmbH. All Rights Reserved.