Package org.apache.torque.generator.configuration.source

# Klasse SourceSaxHandlerFactories

java.lang.Object
org.apache.torque.generator.configuration.source.SourceSaxHandlerFactories

public class SourceSaxHandlerFactories extends Object
A registry of SourceSaxHandlerFactories. $Id: SourceSaxHandlerFactories.java 1917241 2024-04-21 13:29:41Z tv $

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `SourceSaxHandlerFactories()`
  Constructor.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `SourceSaxHandlerFactory`
  `getSourceSaxHandlerFactory(String type)`
  Returns the SourceSaxHandlerFactory associated with the given type.
  `Set<String>`
  `getSourceTypes()`
  Returns the known source types.
  `void`
  `register(SourceSaxHandlerFactory sourceSaxHandlerFactory)`
  Registers a new SourcseSaxHandlerFactory.

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

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

- ## Konstruktordetails

  - ### SourceSaxHandlerFactories

    public SourceSaxHandlerFactories()
    Constructor. Registers the default SourceSaxHandlerFactories.

- ## Methodendetails

  - ### register

    public void register(SourceSaxHandlerFactory sourceSaxHandlerFactory) throws ConfigurationException
    Registers a new SourcseSaxHandlerFactory.
    Parameter:
      `sourceSaxHandlerFactory` - the factory to register, not null.
    Löst aus:
      `ConfigurationException` - if the type of the registered factory already exists.

  - ### getSourceSaxHandlerFactory

    public SourceSaxHandlerFactory getSourceSaxHandlerFactory(String type)
    Returns the SourceSaxHandlerFactory associated with the given type.
    Parameter:
      `type` - the type top look for, not null.
    Gibt zurück:
      the SourceSaxHandlerFactory associated with the given type, or null if no SourceSaxHandlerFactory exists for the given type.

  - ### getSourceTypes

    public Set<String> getSourceTypes()
    Returns the known source types.
    Gibt zurück:
      the known source types, not null.