Class FilterFactory


  • public class FilterFactory
    extends Object
    A factory class for creating filtering strategy implementations.

    This factory provides instances of filters that can either include or exclude specified JSON elements based on a given filtering strategy.

    Supported filtering strategies:

    • INCLUSION - Retains only the specified JSON elements.
    • EXCLUSION - Removes the specified JSON elements.

    Usage example:

     
     FilterFactory factory = new FilterFactory();
    
     Filter filter = factory.create(FilterType.INCLUSION);
     
     
    Author:
    Hideki Ikeda
    • Constructor Detail

      • FilterFactory

        public FilterFactory()