eu.esdihumboldt.hale.io.gml.geometry.handler
Class EnvelopeHandler
java.lang.Object
eu.esdihumboldt.hale.io.gml.geometry.AbstractGeometryHandler
eu.esdihumboldt.hale.io.gml.geometry.FixedConstraintsGeometryHandler
eu.esdihumboldt.hale.io.gml.geometry.handler.EnvelopeHandler
- All Implemented Interfaces:
- GeometryConstants, GeometryHandler
public class EnvelopeHandler
- extends FixedConstraintsGeometryHandler
Handler for envelope geometries
- Author:
- Patrick Lieb
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvelopeHandler
public EnvelopeHandler()
createGeometry
public Object createGeometry(Instance instance,
int srsDimension)
throws GeometryNotSupportedException
- Description copied from interface:
GeometryHandler
- Create a geometry value from a given instance.
- Parameters:
instance
- the instancesrsDimension
- the dimension of the instance
- Returns:
- the geometry value derived from the instance, the return type
should match the
Binding
created in
GeometryHandler.getTypeConstraints(TypeDefinition)
.
- Throws:
GeometryNotSupportedException
- if the type definition doesn't
represent a geometry type supported by the handler- See Also:
GeometryHandler.createGeometry(Instance, int)
initConstraints
protected Collection<? extends TypeConstraint> initConstraints()
- Description copied from class:
FixedConstraintsGeometryHandler
- Create the associated type constraints.
- Specified by:
initConstraints
in class FixedConstraintsGeometryHandler
- Returns:
- the type constraints to set on an associated geometry type
- See Also:
FixedConstraintsGeometryHandler.initConstraints()
initSupportedTypes
protected Set<? extends QName> initSupportedTypes()
- Description copied from class:
AbstractGeometryHandler
- Create the set of supported types.
- Specified by:
initSupportedTypes
in class AbstractGeometryHandler
- Returns:
- the set of supported type names
- See Also:
AbstractGeometryHandler.initSupportedTypes()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d