org.extex.color
Class ColorConverterFacory

java.lang.Object
  extended by org.extex.framework.AbstractFactory
      extended by org.extex.color.ColorConverterFacory
All Implemented Interfaces:
Configurable, LogEnabled, RegistrarObserver, ResourceAware

public class ColorConverterFacory
extends AbstractFactory

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

Version:
$Revision: 5563 $
Author:
Gerd Neugebauer

Field Summary
 
Fields inherited from class org.extex.framework.AbstractFactory
CLASS_ATTRIBUTE, DEFAULT_ATTRIBUTE, SELECT_ATTRIBUTE
 
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 org.extex.framework.AbstractFactory
configure, configure, createInstance, createInstance, createInstance, createInstance, createInstanceForConfiguration, createInstanceForConfiguration, createInstanceForConfiguration, enableLogging, enableLogging, getConfiguration, getLogger, getResourceFinder, reconnect, selectConfiguration, setResourceFinder
 
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)
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