Class FilterAbstract

  • All Implemented Interfaces:
    Filter
    Direct Known Subclasses:
    AbstractFilter

    public abstract class FilterAbstract
    extends Object
    implements Filter
    Abstract implementation for Filter.
    Author:
    Jody Garnett
    • Constructor Detail

      • FilterAbstract

        protected FilterAbstract()
    • Method Detail

      • accepts

        public boolean accepts​(SimpleFeature feature)
        Straight call throught to: evaulate( feature )
      • eval

        protected Object eval​(Expression expression,
                              Object object)
        Helper method for subclasses to reduce null checks and automatically unpack values from attributes and collections
        Returns:
        value or null
      • eval

        protected Object eval​(Expression expression,
                              Object object,
                              Class<?> context)
        Helper method for subclasses to reduce null checks
        Returns:
        value or null