org.shapelogic.filter
Class PointOfTypeFilter

java.lang.Object
  extended by org.shapelogic.filter.BaseFilter<Polygon,IPoint2D>
      extended by org.shapelogic.filter.PolygonPointFilter
          extended by org.shapelogic.filter.PointOfTypeFilter
All Implemented Interfaces:
org.apache.commons.collections.Predicate, IFilter<Polygon,IPoint2D>

public class PointOfTypeFilter
extends PolygonPointFilter

Filtering based on annotation for points Note that this only works for filters of point type

Author:
Sami Badawi

Field Summary
 
Fields inherited from class org.shapelogic.filter.BaseFilter
_collection, _constraint, _parent
 
Constructor Summary
PointOfTypeFilter()
           
 
Method Summary
 boolean evaluate(java.lang.Object point)
           
 void setConstraint(java.lang.Object constraint)
           
 
Methods inherited from class org.shapelogic.filter.PolygonPointFilter
getCollection
 
Methods inherited from class org.shapelogic.filter.BaseFilter
filter, getConstraint, getParent, setCollection, setParent, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointOfTypeFilter

public PointOfTypeFilter()
Method Detail

evaluate

public boolean evaluate(java.lang.Object point)
Specified by:
evaluate in interface org.apache.commons.collections.Predicate
Specified by:
evaluate in class BaseFilter<Polygon,IPoint2D>

setConstraint

public void setConstraint(java.lang.Object constraint)
Specified by:
setConstraint in interface IFilter<Polygon,IPoint2D>
Overrides:
setConstraint in class BaseFilter<Polygon,IPoint2D>


Copyright © 2009. All Rights Reserved.