|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.FilterAbstract
public abstract class FilterAbstract
Abstract implementation for Filter.
Field Summary | |
---|---|
protected org.opengis.filter.FilterFactory |
factory
filter factory |
Fields inherited from interface org.opengis.filter.Filter |
---|
EXCLUDE, INCLUDE |
Constructor Summary | |
---|---|
protected |
FilterAbstract(org.opengis.filter.FilterFactory factory)
|
Method Summary | |
---|---|
java.lang.Object |
accept(org.opengis.filter.FilterVisitor visitor,
java.lang.Object extraData)
Subclass should override, default implementation just returns extraData |
boolean |
accepts(org.opengis.feature.simple.SimpleFeature feature)
Straight call throught to: evaulate( feature ) |
protected java.lang.Object |
eval(org.opengis.filter.expression.Expression expression,
java.lang.Object object)
Helper method for subclasses to reduce null checks |
protected java.lang.Object |
eval(org.opengis.filter.expression.Expression expression,
java.lang.Object object,
java.lang.Class context)
Helper method for subclasses to reduce null checks |
protected java.lang.Object |
eval(Expression expression,
org.opengis.feature.simple.SimpleFeature feature)
Helper method for subclasses to reduce null checks |
boolean |
evaluate(org.opengis.feature.simple.SimpleFeature feature)
Subclass should overrride. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.filter.Filter |
---|
evaluate |
Field Detail |
---|
protected org.opengis.filter.FilterFactory factory
Constructor Detail |
---|
protected FilterAbstract(org.opengis.filter.FilterFactory factory)
factory
- FilterFactory injected into the filter.Method Detail |
---|
public boolean evaluate(org.opengis.feature.simple.SimpleFeature feature)
public boolean accepts(org.opengis.feature.simple.SimpleFeature feature)
public java.lang.Object accept(org.opengis.filter.FilterVisitor visitor, java.lang.Object extraData)
accept
in interface org.opengis.filter.Filter
protected java.lang.Object eval(Expression expression, org.opengis.feature.simple.SimpleFeature feature)
expression
- feature
-
protected java.lang.Object eval(org.opengis.filter.expression.Expression expression, java.lang.Object object)
expression
- object
-
protected java.lang.Object eval(org.opengis.filter.expression.Expression expression, java.lang.Object object, java.lang.Class context)
expression
- object
- context
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |