|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| DefaultMasterConverter.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Copyright (C) The Spice Group. All rights reserved.
|
|
| 3 |
*
|
|
| 4 |
* This software is published under the terms of the Spice
|
|
| 5 |
* Software License version 1.1, a copy of which has been included
|
|
| 6 |
* with this distribution in the LICENSE.txt file.
|
|
| 7 |
*/
|
|
| 8 |
package org.codehaus.spice.converter.lib;
|
|
| 9 |
|
|
| 10 |
import org.codehaus.spice.converter.AbstractMasterConverter;
|
|
| 11 |
import org.codehaus.spice.converter.ConverterFactory;
|
|
| 12 |
|
|
| 13 |
/**
|
|
| 14 |
* A very simple master converter that implements the ConverterRegistry
|
|
| 15 |
* interface. Converters can be registered in this class via the
|
|
| 16 |
* {@link ConverterRegistry} interface and will subsequently used
|
|
| 17 |
* during conversion process.
|
|
| 18 |
*
|
|
| 19 |
* @author Peter Donald
|
|
| 20 |
* @version $Revision: 1.1 $ $Date: 2003/12/02 08:37:56 $
|
|
| 21 |
* @avalon.service type="ConverterRegistry"
|
|
| 22 |
*/
|
|
| 23 |
public class DefaultMasterConverter |
|
| 24 |
extends AbstractMasterConverter
|
|
| 25 |
implements ConverterRegistry
|
|
| 26 |
{
|
|
| 27 |
/**
|
|
| 28 |
* Registers a converter.
|
|
| 29 |
*
|
|
| 30 |
* @param source the source classname
|
|
| 31 |
* @param destination the destination classname
|
|
| 32 |
* @param factory the factory to use to create a converter instance.
|
|
| 33 |
*/
|
|
| 34 | 0 |
public void registerConverter( final String source, |
| 35 |
final String destination, |
|
| 36 |
final ConverterFactory factory ) |
|
| 37 |
{
|
|
| 38 | 0 |
super.registerConverter( factory, source, destination );
|
| 39 |
} |
|
| 40 |
} |
|
| 41 |
|
|
||||||||||