Interface AbstractTransformer
- All Known Subinterfaces:
PipeTransformer,TRAXTransformer
- All Known Implementing Classes:
TransformerBase,TRAXTransformerImpl
public interface AbstractTransformer
Created by The eXo Platform SAS .
- Version:
- $Id: AbstractTransformer.java 5799 2006-05-28 17:55:42Z geaz $
- Author:
- Gennady Azarenkov, Alexander Kravchuk
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitResult(Result result) Initialize a result of transformationvoidTransform source data to result
-
Method Details
-
initResult
Initialize a result of transformation- Parameters:
result- Result- Throws:
NotSupportedIOTypeException- if try to initialize with not supported implementation of Result
-
transform
void transform(Source source) throws NotSupportedIOTypeException, TransformerException, IllegalStateException Transform source data to result- Parameters:
source- Source - input of transformation- Throws:
NotSupportedIOTypeException- if not supported implementation of SourceTransformerException- if error occurred on transformation processIllegalStateException- if result not initialized by initResult
-