Class DataViewFactoryProducer

Object
hdf.view.DataView.DataViewFactoryProducer

public class DataViewFactoryProducer
extends Object
Following the Abstract Factory Pattern, represents a class to produce different types of DataView factory classes depending on the given DataViewType enum value.
Version:
1.0 4/17/2018
Author:
jhenderson
  • Constructor Summary

    Constructors
    Constructor Description
    DataViewFactoryProducer()  
  • Method Summary

    Modifier and Type Method Description
    static DataViewFactory getFactory​(ViewProperties.DataViewType viewType)
    get the requested DataViewFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getFactory

      public static DataViewFactory getFactory​(ViewProperties.DataViewType viewType) throws Exception
      get the requested DataViewFactory
      Parameters:
      viewType - The data view type requested
      Returns:
      the data view factory.
      Throws:
      Exception - If there is an error getting the class for a data view factory.