org.geotools.gml
Class SubHandlerFactory

java.lang.Object
  extended byorg.geotools.gml.SubHandlerFactory

public class SubHandlerFactory
extends java.lang.Object

Creates the appropriate SubHandler element for a given OGC simple geometry type.

Version:
$Id: SubHandlerFactory.java 17701 2006-01-23 00:00:51Z desruisseaux $
Author:
Rob Hranac, Vision for New York

Constructor Summary
SubHandlerFactory()
          Empty constructor.
 
Method Summary
 SubHandler create(java.lang.String type)
          Creates a new SubHandler, based on the appropriate OGC simple geometry type.
 
Methods inherited from class java.lang.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(java.lang.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!
Task:
TODO: throw an exception, not return a null


Copyright © GeoTools. All Rights Reserved.