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 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