Class CompositePropertyFilter

java.lang.Object
org.kordamp.json.filters.CompositePropertyFilter
All Implemented Interfaces:
PropertyFilter

public class CompositePropertyFilter extends Object implements PropertyFilter
  • Field Details

    • filters

      private List filters
  • Constructor Details

    • CompositePropertyFilter

      public CompositePropertyFilter()
    • CompositePropertyFilter

      public CompositePropertyFilter(List filters)
  • Method Details

    • addPropertyFilter

      public void addPropertyFilter(PropertyFilter filter)
    • apply

      public boolean apply(Object source, String name, Object value)
      Specified by:
      apply in interface PropertyFilter
      Parameters:
      source - the owner of the property
      name - the name of the property
      value - the value of the property
      Returns:
      true if the property will be filtered out, false otherwise
    • removePropertyFilter

      public void removePropertyFilter(PropertyFilter filter)