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

# Klasse FileSourceSaxHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.torque.generator.configuration.source.SourceSaxHandler
org.apache.torque.generator.configuration.source.FileSourceSaxHandler

Alle implementierten Schnittstellen:
  `ContentHandler`, `DTDHandler`, `EntityResolver`, `ErrorHandler`

public class FileSourceSaxHandler extends SourceSaxHandler
Reads file source definitions from the controller configuration file.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `FileSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  `characters(char[] ch, int start, int length)`
  `void`
  `endElement(String uri, String localName, String rawName)`
  `SourceProvider`
  `getSourceProvider()`
  Returns the information how to read the sources.
  `void`
  `startElement(String uri, String localName, String rawName, Attributes attributes)`

  ### Von Klasse geerbte Methoden org.apache.torque.generator.configuration.source.SourceSaxHandler

  `finished, getConfigurationHandlers, getConfigurationProvider, getSourceProcessConfiguration, getUnitDescriptor, isFinished`

  ### Von Klasse geerbte Methoden org.xml.sax.helpers.DefaultHandler

  `endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning`

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

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

  ### Von Schnittstelle geerbte Methoden org.xml.sax.ContentHandler

  `declaration`

- ## Konstruktordetails

  - ### FileSourceSaxHandler

    public FileSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)
    Constructor.
    Parameter:
      `configurationProvider` - The access object for the configuration files, not null.
      `unitDescriptor` - The description of the generation unit, not null.
      `configurationHandlers` - All known configuration handlers, not null.
    Löst aus:
      `NullPointerException` - if an argument is null.

- ## Methodendetails

  - ### startElement

    public void startElement(String uri, String localName, String rawName, Attributes attributes) throws SAXException
    Angegeben von:
      `startElement` in Schnittstelle `ContentHandler`
    Setzt außer Kraft:
      `startElement` in Klasse `SourceSaxHandler`
    Löst aus:
      `SAXException`

  - ### endElement

    public void endElement(String uri, String localName, String rawName) throws SAXException
    Angegeben von:
      `endElement` in Schnittstelle `ContentHandler`
    Setzt außer Kraft:
      `endElement` in Klasse `SourceSaxHandler`
    Löst aus:
      `SAXException`

  - ### characters

    public void characters(char[] ch, int start, int length) throws SAXException
    Angegeben von:
      `characters` in Schnittstelle `ContentHandler`
    Setzt außer Kraft:
      `characters` in Klasse `SourceSaxHandler`
    Löst aus:
      `SAXException`

  - ### getSourceProvider

    public SourceProvider getSourceProvider()
    Returns the information how to read the sources.
    Angegeben von:
      `getSourceProvider` in Klasse `SourceSaxHandler`
    Gibt zurück:
      the source Provider, not null if the source snippet was processed.