Class GMLConfiguration

  • public class GMLConfiguration
    extends Configuration
    Parser configuration for the schema.
    • Constructor Detail

      • GMLConfiguration

        public GMLConfiguration()
        Creates a new configuration.
    • Method Detail

      • registerBindings

        protected void registerBindings​(Map<QName,​Object> bindings)
        Description copied from class: Configuration
        Registers the bindings for the configuration.

        This method is intended to provide the "default" bindings for a configuration and is not intended to be subclassed by client code. Client code should use Configuration.configureBindings(MutablePicoContainer) to override/remove/add new bindings on the fly.

        The key of the bindings map is of type QName. The value can be class, or an instance. In the case of a class, the binding will be instantiated by the parser at runtime. In the instance case the binding will be used as is.

        registerBindings in class Configuration
      • configureContext

        public void configureContext​(MutablePicoContainer container)
        Configures the gml3 context.

        The following factories are registered:

        • CoordinateArraySequenceFactory under CoordinateSequenceFactory
        • GeometryFactory
        configureContext in class Configuration
        container - The container representing the context.