org.gcube.datatransformation.datatransformationlibrary.programs.metadata.xslttransformer
Class XSLT_Transformer

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.programs.metadata.xslttransformer.XSLT_Transformer

public class XSLT_Transformer
extends java.lang.Object

Author:
Dimitris Katris, NKUA

Uses an xslt in order to transform metadata.


Constructor Summary
XSLT_Transformer()
           
 
Method Summary
 void transform(java.util.List<DataSource> sources, java.util.List<Parameter> programParameters, ContentType targetContentType, DataSink sink)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLT_Transformer

public XSLT_Transformer()
Method Detail

transform

public void transform(java.util.List<DataSource> sources,
                      java.util.List<Parameter> programParameters,
                      ContentType targetContentType,
                      DataSink sink)
               throws java.lang.Exception
Parameters:
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.
Throws:
java.lang.Exception - If the program is not capable to transform DataElements.
See Also:
org.gcube.datatransformation.datatransformationlibrary.programs.Program#transform(java.util.List, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink)