Class TableLabelTransformerFactory


  • public class TableLabelTransformerFactory
    extends Object
    Class that determines which TableLabelTransformer sub-class to instantiate based on the given object.
    Author:
    mcayanan
    • Method Detail

      • 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.