Used to configure an instance of
org.geotools.xml.Writer .
Implementations supply a series of
org.geotools.xml.Encoder implementations (typically one for each type of object in your model that
must be encoded.
Encoder implementations are supplied by registering them with the supplied
container.
class MyEncoderConfiguration implements EncoderConfiguration {
void configure(MutablePicoContainer container) {
container.registerComponentImplementation(FooEncoder.class);
container.registerComponentImplementation(BarEncoder.class);
...
}
}
author: Justin Deoliveira, The Open Planning Project |