Package org.geotools.gml
Class SubHandlerFactory
- Object
-
- SubHandlerFactory
-
public class SubHandlerFactory extends Object
Creates the appropriate SubHandler element for a given OGC simple geometry type.- Author:
- Rob Hranac, Vision for New York
-
-
Constructor Summary
Constructors Constructor Description SubHandlerFactory()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubHandler
create(String type)
Creates a new SubHandler, based on the appropriate OGC simple geometry type.
-
-
-
Method Detail
-
create
public SubHandler create(String type)
Creates a new SubHandler, based on the appropriate OGC simple geometry type. Note that some types are aggregated into a generic 'multi' type.- Parameters:
type
- Type of SubHandler to return.- TODO:
- TODO: throw an exception, not return a null
-
-