org.geotools.gml
Class SubHandlerFactory

Object
  extended by 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
Module:
modules/library/main (gt-main.jar)

Constructor Summary
SubHandlerFactory()
          Empty constructor.
 
Method Summary
 SubHandler create(String type)
          Creates a new SubHandler, based on the appropriate OGC simple geometry type.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubHandlerFactory

public SubHandlerFactory()
Empty constructor.

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.
Returns:
DOCUMENT ME!
TODO:
TODO: throw an exception, not return a null


Copyright © 1996-2010 Geotools. All Rights Reserved.