|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.align.model.condition.impl.GeometryCondition
public class GeometryCondition
Type condition that checks if it's geometry and optionally for certain geometry types.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
accept(Type entity)
Determines if the given entity matches the constraint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
)Method Detail |
---|
public boolean accept(Type entity)
EntityCondition
accept
in interface EntityCondition<Type>
entity
- the entity
EntityCondition.accept(Entity)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |