|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeometryHandler
Provides support for configuring geometry schema types and reading geometry objects for certain GML geometry types. A geometry handler must be immutable (not holding any state).
Method Summary | |
---|---|
Object |
createGeometry(Instance instance,
int srsDimension)
Create a geometry value from a given instance. |
Set<QName> |
getSupportedTypes()
Get the geometry types 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. |
Method Detail |
---|
Set<QName> getSupportedTypes()
Iterable<TypeConstraint> getTypeConstraints(TypeDefinition type) throws GeometryNotSupportedException
Binding
and
GeometryType
constraints. Usually the binding should be
GeometryProperty
.
type
- the type definition the constraints will be associated to
GeometryNotSupportedException
- if the type definition doesn't
represent a geometry type supported by the handlerObject createGeometry(Instance instance, int srsDimension) throws GeometryNotSupportedException
instance
- the instancesrsDimension
- the dimension of the instance
Binding
created in
getTypeConstraints(TypeDefinition)
.
GeometryNotSupportedException
- if the type definition doesn't
represent a geometry type supported by the handler
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |