|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.geo.LayerFilter
public class LayerFilter
NodeFilter implementation that returns all GeoFilters that match a certain layer name pattern as defined by a regex expression.
Constructor Summary | |
---|---|
LayerFilter()
Creates a filter that will return all layers. |
|
LayerFilter(java.lang.String regex)
Creates a filter that will return layers with names matching the specified regex. |
Method Summary | |
---|---|
boolean |
evaluate(java.lang.Object node)
Returns true if the specified object is GeoShape and if its boundary intersects with our query boundary. |
boolean |
supportsGraph(com.phoenixst.plexus.Graph graph)
Returns true for any GeospatialGraph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayerFilter()
public LayerFilter(java.lang.String regex)
Method Detail |
---|
public boolean supportsGraph(com.phoenixst.plexus.Graph graph)
supportsGraph
in interface TargetedFilter
public boolean evaluate(java.lang.Object node)
evaluate
in interface org.apache.commons.collections.Predicate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |