Module org.hdfgroup.hdfview
Package hdf.view.TableView

# Class DataValidatorFactory

Object
hdf.view.TableView.DataValidatorFactory

public class DataValidatorFactory extends Object
A Factory class to return a DataValidator class for a NatTable instance based upon the Datatype that it is supplied.

Version:
  1.0 6/28/2018
Author:
  Jordan T. Henderson

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `DataValidatorFactory.HDFDataValidator`
  The HDF extension of the data valicdation

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataValidatorFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static DataValidatorFactory.HDFDataValidator`
  `getDataValidator(DataFormat dataObject)`
  Get the Data Validator for the supplied data object

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DataValidatorFactory

    public DataValidatorFactory()

- ## Method Details

  - ### getDataValidator

    public static DataValidatorFactory.HDFDataValidator getDataValidator(DataFormat dataObject) throws Exception
    Get the Data Validator for the supplied data object
    Parameters:
      `dataObject` - the data object
    Returns:
      the validator instance
    Throws:
      `Exception` - if a failure occurred