org.specrunner.transformer.core
Class TransformerDefault
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformerDefault
public TransformerDefault()
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.