|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Program
Each Program is an independent, self-describing entity that encapsulates the logic of the transformationUnit process it performs. The gDTS loads these required programs dynamically as the execution proceeds and supplies them with the input data that must be transformed.
| Method Summary | |
|---|---|
void |
transform(List<DataSource> sources,
List<Parameter> programParameters,
ContentType targetContentType,
DataSink sink)
The method invoked by ProgramExecutor in order for the Program to transform the sources to the targetContentType. |
| Method Detail |
|---|
void transform(List<DataSource> sources,
List<Parameter> programParameters,
ContentType targetContentType,
DataSink sink)
throws Exception
ProgramExecutor in order for the Program to transform the sources to the targetContentType.
sources - The DataSources from which the Program will get the DataElements.programParameters - The parameters of the Program which are primarily set by the TransformationUnit.targetContentType - The ContentType in which the source data will be transformed.sink - The DataSink in which the Program will append the transformed DataElements.
Exception - If the program is not capable to transform DataElements.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||