org.exolab.castor.xml
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(org.xml.sax.ErrorHandler handler)
Sets the SAX2 ErrorHandler to send SAX 2 errors to
|
setContentHandler, start
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com