org.exolab.castor.xml
Interface SAX2EventAndErrorProducer

All Superinterfaces:
SAX2EventProducer
All Known Implementing Classes:
BaseSax2EventFromStaxProducer, Sax2EventFromStaxEventProducer, Sax2EventFromStaxStreamProducer

public interface SAX2EventAndErrorProducer
extends SAX2EventProducer

A interface which extends SAX2EventProducer. SAX2EventProducer abstracts anything which can produce SAX 2 events, and invoke the corresponding callback methods on the given ContentHandler.

This interface also handles SAX 2 parse exceptions and invokes the corresponding methods on the given ErrorHandler.

Author:
Philipp Erlacher
See Also:
SAX2EventProducer, ErrorHandler

Method Summary
 void setErrorHandler(ErrorHandler handler)
          Sets the SAX2 ErrorHandler to send SAX 2 errors to
 
Methods inherited from interface org.exolab.castor.xml.SAX2EventProducer
setContentHandler, start
 

Method Detail

setErrorHandler

void setErrorHandler(ErrorHandler handler)
Sets the SAX2 ErrorHandler to send SAX 2 errors to



Copyright © 2013. All Rights Reserved.