Package org.exolab.castor.xml
Interface SAX2EventAndErrorProducer
- All Superinterfaces:
SAX2EventProducer
- All Known Implementing Classes:
BaseSax2EventFromStaxProducer
,Sax2EventFromStaxEventProducer
,Sax2EventFromStaxStreamProducer
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:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setErrorHandler
(ErrorHandler handler) Sets the SAX2 ErrorHandler to send SAX 2 errors toMethods inherited from interface org.exolab.castor.xml.SAX2EventProducer
setContentHandler, start
-
Method Details
-
setErrorHandler
Sets the SAX2 ErrorHandler to send SAX 2 errors to
-