org.specrunner.transformer.core
Class TransformerDefault

java.lang.Object
  extended by org.specrunner.transformer.core.TransformerDefault
All Implemented Interfaces:
Serializable, ITransformer, IResetable

public class TransformerDefault
extends Object
implements ITransformer

Default transformer implementation. Perform ZERO changes in source.

Author:
Thiago Santos.
See Also:
Serialized Form

Constructor Summary
TransformerDefault()
           
 
Method Summary
 void initialize()
          Initialize something.
 ISource transform(ISource source)
          Converts a source into another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerDefault

public TransformerDefault()
Method Detail

initialize

public void initialize()
Description copied from interface: IResetable
Initialize something.

Specified by:
initialize in interface IResetable

transform

public ISource transform(ISource source)
                  throws SourceException
Description copied from interface: ITransformer
Converts a source into another.

Specified by:
transform in interface ITransformer
Parameters:
source - The source to be transformed.
Returns:
The source transformed.
Throws:
SourceException - On transformation errors.


Copyright © 2014. All rights reserved.