Class CompositePropertyFilter

  • All Implemented Interfaces:
    PropertyFilter

    public class CompositePropertyFilter
    extends java.lang.Object
    implements PropertyFilter
    Author:
    Andres Almiray
    • Constructor Detail

      • CompositePropertyFilter

        public CompositePropertyFilter()
      • CompositePropertyFilter

        public CompositePropertyFilter​(java.util.List filters)
    • Method Detail

      • addPropertyFilter

        public void addPropertyFilter​(PropertyFilter filter)
      • apply

        public boolean apply​(java.lang.Object source,
                             java.lang.String name,
                             java.lang.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)