Class AppSchemaConfiguration
Object
Configuration
AppSchemaConfiguration
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 Summary
ConstructorsConstructorDescriptionAppSchemaConfiguration(String namespace, String schemaLocation, SchemaResolver resolver) Because we do not know the dependent GMLConfigurationuntil runtime, it must be specified as a constructor argument. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(Configuration dependency) Allow late addition of a dependency such as GML.Get the original (unresolved) schema location.Methods inherited from class Configuration
allDependencies, configureBindings, configureBindings, configureContext, configureEncoder, configureParser, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getXSD, hashCode, hasProperty, registerBindings, registerBindings, setupBindings, setupContext, setupEncoder, setupParser
-
Constructor Details
-
AppSchemaConfiguration
Because we do not know the dependent GMLConfigurationuntil runtime, it must be specified as a constructor argument.- Parameters:
namespace- the namespace URIschemaLocation- URL giving canonical schema location
-
-
Method Details
-
getSchemaLocation
Get the original (unresolved) schema location.- Returns:
- the schema location
-
addDependency
Allow late addition of a dependency such as GML.- Overrides:
addDependencyin classConfiguration- See Also:
-