Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.gml.geometry
Class AbstractGeometryHandler

java.lang.Object
  extended by eu.esdihumboldt.hale.io.gml.geometry.AbstractGeometryHandler
All Implemented Interfaces:
GeometryConstants, GeometryHandler
Direct Known Subclasses:
FixedConstraintsGeometryHandler

public abstract class AbstractGeometryHandler
extends Object
implements GeometryHandler, GeometryConstants

Base class for geometry handlers.

Author:
Simon Templer

Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.io.gml.geometry.GeometryConstants
NS_GML, NS_GML_32
 
Constructor Summary
AbstractGeometryHandler()
           
 
Method Summary
protected  com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()
          Get a geometry factory instance.
 Set<QName> getSupportedTypes()
          Get the geometry types supported by the geometry handler.
protected abstract  Set<? extends QName> initSupportedTypes()
          Create the set of supported types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.io.gml.geometry.GeometryHandler
createGeometry, getTypeConstraints
 

Constructor Detail

AbstractGeometryHandler

public AbstractGeometryHandler()
Method Detail

getSupportedTypes

public Set<QName> getSupportedTypes()
Description copied from interface: GeometryHandler
Get the geometry types supported by the geometry handler.

Specified by:
getSupportedTypes in interface GeometryHandler
Returns:
the names of the supported types
See Also:
GeometryHandler.getSupportedTypes()

initSupportedTypes

protected abstract Set<? extends QName> initSupportedTypes()
Create the set of supported types.

Returns:
the set of supported type names

getGeometryFactory

protected com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()
Get a geometry factory instance.

Returns:
the geometry factory

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d