public interface EncoderConfiguration
org.geotools.xml.Writer
.
Implementations supply a series of 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);
...
}
}
Modifier and Type | Method and Description |
---|---|
void |
confgiure(MutablePicoContainer container)
Populates the container with implementations of
Encoder . |
void confgiure(MutablePicoContainer container)
Encoder
.container
- The container used to store encoder implementations.Copyright © 1996–2019 Geotools. All rights reserved.