de.dante.extex.color
Class ColorConverterFacory

java.lang.Object
  extended byde.dante.util.framework.AbstractFactory
      extended byde.dante.extex.color.ColorConverterFacory
All Implemented Interfaces:
Configurable, LogEnabled, RegistrarObserver

public class ColorConverterFacory
extends AbstractFactory

This is the factory to provide an instance of a color converter.

Version:
$Revision: 1.4 $
Author:
Gerd Neugebauer

Constructor Summary
ColorConverterFacory(Configuration config, java.util.logging.Logger logger)
          Creates a new object.
 
Method Summary
 ColorConverter newInstance(java.lang.String type)
          Provide a new instance of a color converter.
 
Methods inherited from class de.dante.util.framework.AbstractFactory
configure, configure, createInstance, createInstance, createInstance, createInstanceForConfiguration, createInstanceForConfiguration, createInstanceForConfiguration, enableLogging, enableLogging, getConfiguration, getLogger, reconnect, selectConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorConverterFacory

public ColorConverterFacory(Configuration config,
                            java.util.logging.Logger logger)
                     throws ConfigurationException
Creates a new object.

Parameters:
config - the configuration
logger - the logger
Throws:
ConfigurationException - in case of an error
Method Detail

newInstance

public ColorConverter newInstance(java.lang.String type)
                           throws ConfigurationException
Provide a new instance of a color converter. The new instance is initiated with the sub-configuration describing it.

Parameters:
type - the type
Returns:
the new instance
Throws:
ConfigurationException - in case of a problem in the configuration