org.specrunner.transformer
Interface ITransformer

All Superinterfaces:
IResetable, Serializable
All Known Subinterfaces:
ITransformerGroup
All Known Implementing Classes:
TransformerDefault, TransformerGroupImpl, TransformerHref

public interface ITransformer
extends IResetable

Perform a transformation from a document source into another. For example, someone can write an pre-processing annotation into specification based on natural language.

Author:
Thiago Santos

Method Summary
 ISource transform(ISource source)
          Converts a source into another.
 
Methods inherited from interface org.specrunner.util.mapping.IResetable
initialize
 

Method Detail

transform

ISource transform(ISource source)
                  throws SourceException
Converts a source into another.

Parameters:
source - The source to be transformed.
Returns:
The source transformed.
Throws:
SourceException - On transformation errors.


Copyright © 2014. All rights reserved.