|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectConfiguration
AppSchemaConfiguration
public class 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.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
addDependency(Configuration dependency)
Allow late addition of a dependency such as GML. |
String |
getSchemaLocation()
Get the original (unresolved) schema location. |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppSchemaConfiguration(String namespace, String schemaLocation, SchemaResolver resolver)
Configuration
until runtime, it must be
specified as a constructor argument.
namespace
- the namespace URIschemaLocation
- URL giving canonical schema locationresolver
- Method Detail |
---|
public String getSchemaLocation()
public void addDependency(Configuration dependency)
addDependency
in class Configuration
Configuration.addDependency(org.geotools.xml.Configuration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |