Class IncludeFilter

  • All Implemented Interfaces:
    Serializable, Filter

    public final class IncludeFilter
    extends Object
    implements Filter, Serializable
    Indicating "no filtering", evaluates to true. This is a placeholder filter intended to be used in data structuring definition.

    • INCLUDE or Filter ==> INCLUDE
    • INCLUDE and Filter ==> Filter
    • not INCLUDE ==> EXCLUDE

    The above does imply that the OR opperator can short circuit on encountering NONE.

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

      • evaluate

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

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