Class TableLabelTransformerFactory
- java.lang.Object
-
- gov.nasa.pds.transform.product.label.TableLabelTransformerFactory
-
public class TableLabelTransformerFactory extends Object
Class that determines which TableLabelTransformer sub-class to instantiate based on the given object.- Author:
- mcayanan
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableLabelTransformerFactorygetInstance()Gets an instance of the factory.TableLabelTransformer<?>newInstance(Object tableObject)Instantiates a new TableLabelTransformer object based on the given table object.
-
-
-
Method Detail
-
getInstance
public static TableLabelTransformerFactory getInstance()
Gets an instance of the factory.
-
newInstance
public TableLabelTransformer<?> newInstance(Object tableObject) throws TransformException
Instantiates a new TableLabelTransformer object based on the given table object.- Parameters:
tableObject- Must be either Table_Binary, Table_Character, or Table_Delimited.- Returns:
- a TableLabelTransformer object.
- Throws:
TransformException- If the given object is not one of the supported PDS4 table objects.
-
-