Class 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.
      • 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.
        TODO:
        TODO: throw an exception, not return a null