org.geotools.xml
Interface EncoderConfiguration


public interface EncoderConfiguration

Used to configure an instance of 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);
                  ...
                }
         }
         
 

Author:
Justin Deoliveira, The Open Planning Project
Module:
modules/extension/xsd-core (gt-xsd-core.jar)

Method Summary
 void confgiure(MutablePicoContainer container)
          Populates the container with implementations of Encoder.
 

Method Detail

confgiure

void confgiure(MutablePicoContainer container)
Populates the container with implementations of Encoder.

Parameters:
container - The container used to store encoder implementations.


Copyright © 1996-2010 Geotools. All Rights Reserved.