Class AbstractFilterFactory<T extends Filter>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Filter getFilter​(FilterDef filterDef)
      Retrieves the appropriate Filter for the given configuration.
      java.lang.Class<T> getFilterType()
      Retrieves a reference to the associated Filter type.
      • Methods inherited from class java.lang.Object

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

      • AbstractFilterFactory

        public AbstractFilterFactory​(java.lang.Class<T> type)
    • Method Detail

      • getFilterType

        public java.lang.Class<T> getFilterType()
        Description copied from interface: FilterFactory
        Retrieves a reference to the associated Filter type.
        Specified by:
        getFilterType in interface FilterFactory
        Returns:
        the filter configuration
      • getFilter

        public Filter getFilter​(FilterDef filterDef)
        Description copied from interface: FilterFactory
        Retrieves the appropriate Filter for the given configuration.
        Specified by:
        getFilter in interface FilterFactory
        Parameters:
        filterDef - a filter definition
        Returns:
        null if this factory doesn't support the filter in question