Class AppSchemaConfiguration

Object
Configuration
AppSchemaConfiguration

public class AppSchemaConfiguration extends Configuration
XML encoder Configuration that uses SchemaResolver to obtain schemas.

Because we do not know the dependent GML Configuration when an instance is constructed, it must be added later using addDependency(Configuration). Failure to do this will result in bindings not being found at encode time.

Author:
Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
  • Constructor Details

    • AppSchemaConfiguration

      public AppSchemaConfiguration(String namespace, String schemaLocation, SchemaResolver resolver)
      Because we do not know the dependent GML Configuration until runtime, it must be specified as a constructor argument.
      Parameters:
      namespace - the namespace URI
      schemaLocation - URL giving canonical schema location
  • Method Details