Klasse XmlOptionsSaxHandlerFactory

java.lang.Object
org.apache.torque.generator.configuration.option.XmlOptionsSaxHandlerFactory
Alle implementierten Schnittstellen:
OptionsSaxHandlerFactory

public class XmlOptionsSaxHandlerFactory extends Object implements OptionsSaxHandlerFactory
A Factory which creates a SAX handler for XML Options.
  • Konstruktordetails

    • XmlOptionsSaxHandlerFactory

      public XmlOptionsSaxHandlerFactory()
  • Methodendetails

    • getType

      public String getType()
      Returns the options type which can be handled by the OptionsSaxHandlers created by this factory.
      Angegeben von:
      getType in Schnittstelle OptionsSaxHandlerFactory
      Gibt zurück:
      "xmlOptions".
    • getOptionsSaxHandler

      public final FileOptionsSaxHandler getOptionsSaxHandler() throws SAXException
      Returns a FileOptionsSaxHandler for reading the configuration of XML options.
      Angegeben von:
      getOptionsSaxHandler in Schnittstelle OptionsSaxHandlerFactory
      Gibt zurück:
      a new FileOptionsSaxHandler.
      Löst aus:
      SAXException - if the SAX Handler for the options can not be created from the given XML element.