Interface SAX2EventProducer

All Known Subinterfaces:
SAX2EventAndErrorProducer
All Known Implementing Classes:
BaseSax2EventFromStaxProducer, Sax2EventFromStaxEventProducer, Sax2EventFromStaxStreamProducer

public interface SAX2EventProducer
A interface which abstracts anything which can produce SAX 2 events. This allows any EventProducer to be used with the Unmarshaller.
Since:
1.0M3
Version:
$Revision: 5951 $ $Date: 2006-02-22 09:05:40 -0700 (Wed, 22 Feb 2006) $
Author:
Werner Guttmann
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the SAX2 ContentHandler to send SAX 2 events to
    void
    Signals to start producing events.
  • Method Details

    • setContentHandler

      void setContentHandler(ContentHandler contentHandler)
      Sets the SAX2 ContentHandler to send SAX 2 events to
    • start

      void start() throws SAXException
      Signals to start producing events.
      Throws:
      SAXException