T - the type of objects that are to be transformedS - the resulting type of the transformed objectspublic interface ITransformer<T,S>
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Closes potentially open readers/writers and finishes the Transformation process
if it is still ongoing.
|
void |
init(AbstractETL<?,?> etl)
Initializes the transformer for a new harvest.
|
S |
transform(T source)
Transforms an extracted element to a document that can be loaded.
|
void init(AbstractETL<?,?> etl)
etl - the AbstractETL to which the transformer belongsS transform(T source) throws TransformerException
source - an extracted elementTransformerException - thrown when an element cannot be transformedvoid clear()
Copyright © 2017–2019. All rights reserved.