Package gov.nasa.pds.transform.product
Class StylesheetTransformer
- java.lang.Object
- 
- gov.nasa.pds.transform.product.DefaultTransformer
- 
- gov.nasa.pds.transform.product.StylesheetTransformer
 
 
- 
- All Implemented Interfaces:
- ProductTransformer
 
 public class StylesheetTransformer extends DefaultTransformer Class that performs transformations of PDS4 data product labels into other formats defined by a stylesheet.- Author:
- mcayanan
 
- 
- 
Field Summary- 
Fields inherited from class gov.nasa.pds.transform.product.DefaultTransformerappendIndexToOutputFile, log, overwriteOutput
 
- 
 - 
Constructor SummaryConstructors Constructor Description StylesheetTransformer(boolean overwrite)Constructor to set the flag to overwrite outputs.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<File>transform(URL url, File outputDir, String format, String dataFile, int index)List<File>transformAll(URL url, File outputDir, String format)- 
Methods inherited from class gov.nasa.pds.transform.product.DefaultTransformertransform, transform, transform, transform, transformAll, transformAll
 
- 
 
- 
- 
- 
Method Detail- 
transformpublic List<File> transform(URL url, File outputDir, String format, String dataFile, int index) throws TransformException, URISyntaxException, Exception - Specified by:
- transformin interface- ProductTransformer
- Specified by:
- transformin class- DefaultTransformer
- Throws:
- TransformException
- URISyntaxException
- Exception
 
 - 
transformAllpublic List<File> transformAll(URL url, File outputDir, String format) throws TransformException, URISyntaxException, Exception - Specified by:
- transformAllin interface- ProductTransformer
- Specified by:
- transformAllin class- DefaultTransformer
- Throws:
- TransformException
- URISyntaxException
- Exception
 
 
- 
 
-