Schnittstelle OptionsSaxHandlerFactory

Alle bekannten Implementierungsklassen:
PropertiesOptionsSaxHandlerFactory, XmlOptionsSaxHandlerFactory

public interface OptionsSaxHandlerFactory
Classes implementing this interface are responsible for creating OptionsSaxHandlers for a specific action type. When a action configuration needs to be parsed, a sax handler will read the type of the action and check it against the types of the registered OptionsSaxHandlers. The first matching handler will then be used to parse the action configuration.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns a OptionsSaxHandler for reading the configuration of options.
    Returns the action type handled by the ActionSaxHandlers which are created by this factory.
  • Methodendetails

    • getType

      String getType()
      Returns the action type handled by the ActionSaxHandlers which are created by this factory.
      Gibt zurück:
      the type of the action, not null.
    • getOptionsSaxHandler

      OptionsSaxHandler getOptionsSaxHandler() throws SAXException
      Returns a OptionsSaxHandler for reading the configuration of options. The SAX Handler is used as a delegate handler whenever an options element with the matching type is encountered in a configuration file.
      Gibt zurück:
      a SAX delegate handler for parsing the configuration with the given type.
      Löst aus:
      SAXException - if the SAX Handler for the options can not be created from the given XML element.