Package org.apache.torque.generator.configuration

# Klasse OutletTypes

java.lang.Object
org.apache.torque.generator.configuration.OutletTypes

public class OutletTypes extends Object
Manages the types of known Outlets. This include information about how to read the configuration of each outlet type.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `OutletTypes()`
  Constructor.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `Map<String,TypedOutletSaxHandlerFactory>`
  `getTypedOutletHandlerFactories()`
  Returns an unmodifiable map containing all typed outlet handler factories, keyed by their type.
  `List<UntypedOutletSaxHandlerFactory>`
  `getUntypedOutletHandlerFactories()`
  Returns an unmodifiable list containing all untyped outlet handler factories.
  `void`
  `registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory)`
  Registers a handler for a new type of outlets.
  `void`
  `registerUntypedOutletHandlerFactory(UntypedOutletSaxHandlerFactory factory)`
  Registers a untyped handler.

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Konstruktordetails

  - ### OutletTypes

    public OutletTypes()
    Constructor. Creates a new instance containing the mappings to the default outlet types.

- ## Methodendetails

  - ### registerTypedOutletHandlerFactory

    public void registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory) throws ConfigurationException
    Registers a handler for a new type of outlets.
    Parameter:
      `factory` - the factory which handles the outlets of the given type.
    Löst aus:
      `NullPointerException` - if factory is null.
      `ConfigurationException` - if a factory already exists for the type of the outlet.

  - ### registerUntypedOutletHandlerFactory

    public void registerUntypedOutletHandlerFactory(UntypedOutletSaxHandlerFactory factory) throws ConfigurationException
    Registers a untyped handler.
    Parameter:
      `factory` - the factory which can handle outlets of different types
    Löst aus:
      `NullPointerException` - if factory is null.
      `ConfigurationException` - if a factory already exists for the type of the outlet.

  - ### getTypedOutletHandlerFactories

    public Map<String,TypedOutletSaxHandlerFactory> getTypedOutletHandlerFactories()
    Returns an unmodifiable map containing all typed outlet handler factories, keyed by their type.
    Gibt zurück:
      all typed outlet handler factories, not null.

  - ### getUntypedOutletHandlerFactories

    public List<UntypedOutletSaxHandlerFactory> getUntypedOutletHandlerFactories()
    Returns an unmodifiable list containing all untyped outlet handler factories.
    Gibt zurück:
      all untyped outlet handler factories, not null.