de.dante.extex.typesetter.output
Class OutputRoutineFactory

java.lang.Object
  extended byde.dante.util.framework.AbstractFactory
      extended byde.dante.extex.typesetter.output.OutputRoutineFactory
All Implemented Interfaces:
Configurable, LogEnabled, RegistrarObserver

public class OutputRoutineFactory
extends AbstractFactory

This class provides a factory for the output routines.

Version:
$Revision: 1.1 $
Author:
Gerd Neugebauer

Constructor Summary
OutputRoutineFactory(Configuration configuration, java.util.logging.Logger logger)
          Creates a new object.
 
Method Summary
 OutputRoutine newInstance(Interpreter interpreter)
          Create a new output routine.
 
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

OutputRoutineFactory

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

Parameters:
configuration - the configuration for this factory
logger - the logger
Throws:
ConfigurationException - in case of an error in the configuration.
Method Detail

newInstance

public OutputRoutine newInstance(Interpreter interpreter)
                          throws ConfigurationException
Create a new output routine.

Parameters:
interpreter - the current interpreter. This interpreter can be used to run the output routine in; alternatively it can be used to access all information necessary
Returns:
the output routine
Throws:
ConfigurationException - in case of a configuration error