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
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.