org.exolab.castor.xml
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
 void setContentHandler(ContentHandler contentHandler)
          Sets the SAX2 ContentHandler to send SAX 2 events to
 void start()
          Signals to start producing events.
 

Method Detail

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


Copyright © 2013. All Rights Reserved.