org.codehaus.spice.converter.lib
Class DefaultMasterConverter
java.lang.Object
|
+--org.codehaus.spice.converter.AbstractMasterConverter
|
+--org.codehaus.spice.converter.lib.DefaultMasterConverter
- All Implemented Interfaces:
- Converter, ConverterRegistry
- public class DefaultMasterConverter
- extends AbstractMasterConverter
- implements ConverterRegistry
A very simple master converter that implements the ConverterRegistry
interface. Converters can be registered in this class via the
ConverterRegistry
interface and will subsequently used
during conversion process.
- Version:
- $Revision: 1.1 $ $Date: 2003/12/02 08:37:56 $
- Author:
- Peter Donald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMasterConverter
public DefaultMasterConverter()
registerConverter
public void registerConverter(String source,
String destination,
ConverterFactory factory)
- Registers a converter.
- Specified by:
registerConverter
in interface ConverterRegistry
- Parameters:
source
- the source classnamedestination
- the destination classnamefactory
- the factory to use to create a converter instance.
Copyright © 2000-2003 Codehaus. All Rights Reserved.