Class ExcludeFilter

  • All Implemented Interfaces:
    Serializable, Filter

    public final class ExcludeFilter
    extends Object
    implements Filter, Serializable
    Indicating "filter all", evaluates to false. This is a placeholder filter intended to be used in data structuring definition.

    • EXCLUDE or Filter ==> Filter
    • EXCLUDE and Filter ==> EXCLUDE

    The above does imply that the AND opperator can short circuit on encountering ALL.

    Jody Garnett (Refractions Research, Inc.), Martin Desruisseaux (Geomatys)
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object accept​(FilterVisitor visitor, Object extraData)
      Accepts a visitor.
      boolean evaluate​(Object object)
      Returns false, content is excluded.
      String toString()
      Returns a string representation of this filter.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • accept

        public Object accept​(FilterVisitor visitor,
                             Object extraData)
        Accepts a visitor.
        Specified by:
        accept in interface Filter
      • evaluate

        public boolean evaluate​(Object object)
        Returns false, content is excluded.
        Specified by:
        evaluate in interface Filter
        true if the test(s) are passed for the provided object
      • toString

        public String toString()
        Returns a string representation of this filter.
        toString in class Object