Package org.geotools.filter
Class FilterAbstract
- Object
-
- 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 Summary
Constructors Modifier Constructor Description protected
FilterAbstract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(SimpleFeature feature)
Straight call throught to: evaulate( feature )protected Object
eval(Expression expression, Object object)
Helper method for subclasses to reduce null checks and automatically unpack values from attributes and collectionsprotected Object
eval(Expression expression, Object object, Class<?> context)
Helper method for subclasses to reduce null checks
-
-
-
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
-
-