Klasse ActionSaxHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.torque.generator.configuration.mergepoint.ActionSaxHandler
Alle implementierten Schnittstellen:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Bekannte direkte Unterklassen:
ApplyActionSaxHandler, OptionActionSaxHandler, OutputActionSaxHandler, SourceElementAttributeActionSaxHandler, TraverseAllActionSaxHandler

public abstract class ActionSaxHandler extends DefaultHandler
A SAX Handler which handles for the action element in mergepoints.
  • Konstruktordetails

    • ActionSaxHandler

      public ActionSaxHandler(MergepointAction action, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)
      Constructor.
      Parameter:
      action - paths of the underlying project, not null.
      configurationProvider - The access object for the configuration files, not null.
      unitDescriptor - The description of the generation unit, 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 DefaultHandler
      Löst aus:
      SAXException
    • getAction

      public MergepointAction getAction()
      Returns the action which was configured by this handler.
      Gibt zurück:
      the action configured by this handler, not null.
    • getConfigurationProvider

      protected ConfigurationProvider getConfigurationProvider()
      Returns the configuration provider used by this handler.
      Gibt zurück:
      the configuration provider, not null.
    • getUnitDescriptor

      protected UnitDescriptor getUnitDescriptor()
      Returns the description of the generation unit.
      Gibt zurück:
      the description of the generation unit, not null.