org.specrunner.transformer.core
Class TransformerHref
java.lang.Object
org.specrunner.transformer.core.TransformerHref
- All Implemented Interfaces:
- Serializable, ITransformer, IResetable
public class TransformerHref
- extends Object
- implements ITransformer
Useful transformer to set all links in specification as included resources
without the need of adding class='include' by hand in each
anchor link.
- 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 |
TransformerHref
public TransformerHref()
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.