Package org.exolab.castor.xml
Interface SAX2EventAndErrorProducer
-
- All Superinterfaces:
SAX2EventProducer
- All Known Implementing Classes:
BaseSax2EventFromStaxProducer
,Sax2EventFromStaxEventProducer
,Sax2EventFromStaxStreamProducer
public interface SAX2EventAndErrorProducer extends SAX2EventProducer
A interface which extendsSAX2EventProducer
.SAX2EventProducer
abstracts anything which can produce SAX 2 events, and invoke the corresponding callback methods on the givenContentHandler
.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setErrorHandler(org.xml.sax.ErrorHandler handler)
Sets the SAX2 ErrorHandler to send SAX 2 errors to-
Methods inherited from interface org.exolab.castor.xml.SAX2EventProducer
setContentHandler, start
-
-