public abstract class FixedConstraintsGeometryHandler extends AbstractGeometryHandler
GML_NAMESPACE_CORE, NS_GML, NS_GML_32
Constructor and Description |
---|
FixedConstraintsGeometryHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkType(TypeDefinition type)
Check if the given type definition is supported by the geometry handler.
|
Iterable<TypeConstraint> |
getTypeConstraints(TypeDefinition type)
Get the type constraints to associated with a geometry type definition.
This method should at least return the Binding and
GeometryType constraints. |
protected abstract Collection<? extends TypeConstraint> |
initConstraints()
Create the associated type constraints.
|
getGeometryFactory, getSupportedTypes, initSupportedTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createGeometry
public Iterable<TypeConstraint> getTypeConstraints(TypeDefinition type) throws GeometryNotSupportedException
GeometryHandler
Binding
and
GeometryType
constraints. Usually the binding should be
GeometryProperty
.type
- the type definition the constraints will be associated toGeometryNotSupportedException
- if the type definition doesn't
represent a geometry type supported by the handlerGeometryHandler.getTypeConstraints(TypeDefinition)
protected void checkType(TypeDefinition type) throws GeometryNotSupportedException
type
- the type definition to checkGeometryNotSupportedException
- if the check failedprotected abstract Collection<? extends TypeConstraint> initConstraints()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a