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

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.programs.metadata.xslttransformer.XSLT_Transformer
All Implemented Interfaces:
org.gcube.datatransformation.datatransformationlibrary.programs.Program

public class XSLT_Transformer
extends Object
implements org.gcube.datatransformation.datatransformationlibrary.programs.Program

Author:
Dimitris Katris, NKUA

Uses an xslt in order to transform metadata.


Constructor Summary
XSLT_Transformer()
           
 
Method Summary
 void transform(List<org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource> sources, List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters, org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLT_Transformer

public XSLT_Transformer()
Method Detail

transform

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


Copyright © 2013. All Rights Reserved.