public interface SAX2EventAndErrorProducer extends SAX2EventProducer
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
.
SAX2EventProducer
,
ErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
setErrorHandler(ErrorHandler handler)
Sets the SAX2 ErrorHandler to send SAX 2 errors to
|
setContentHandler, start
void setErrorHandler(ErrorHandler handler)
Copyright © 2013. All rights reserved.