public class GeometryCondition extends Object implements TypeCondition
Constructor and Description |
---|
GeometryCondition()
Default constructor
|
GeometryCondition(Collection<Class<? extends com.vividsolutions.jts.geom.Geometry>> bindings,
boolean allowConversion,
boolean allowCollection)
Create a geometry condition that checks for certain geometry types.
|
public GeometryCondition()
public GeometryCondition(Collection<Class<? extends com.vividsolutions.jts.geom.Geometry>> bindings, boolean allowConversion, boolean allowCollection)
bindings
- the allowed geometry bindings, null
for anyallowConversion
- if conversion is allowed regarding the geometry
binding check (only applicable if bindings is not
null
)allowCollection
- if a collection of geometries is allowed regarding
the geometry binding check (only applicable if bindings is not
null
)public boolean accept(Type entity)
EntityCondition
accept
in interface EntityCondition<Type>
entity
- the entityEntityCondition.accept(Entity)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a