Basic interface for SAX (Simple API for XML) parsers
![]() | Constructors and Destructor
| ||||||||||||||
![]() | The parser interfaces
|
Basic interface for SAX (Simple API for XML) parsers. All SAX parsers must implement this basic interface: it allows applications to register handlers for different types of events and to initiate a parse from a URI, or a character stream. All SAX parsers must also implement a zero-argument constructor (though other constructors are also allowed). SAX parsers are reusable but not re-entrant: the application may reuse a parser object (possibly with a different input source) once the first parse has completed successfully, but it may not invoke the parse() methods recursively within a parse.
virtual void setDTDHandler(DTDHandler* const handler)
HandlerBase virtual void setDocumentHandler(DocumentHandler* const handler)
HandlerBase virtual void setErrorHandler(ErrorHandler* const handler)
SAXException
HandlerBase virtual void parse( const InputSource& source, const bool reuseValidator = false )
XMLException An exception from the parser or client
handler code.
reuseValidator - Indicates whether the validator should be
reused, ignoring any external subset. If true, there
cannot be any internal subset.
setEntityResolver
setDTDHandler
setDocumentHandler
setErrorHandler virtual void parse( const XMLCh* const systemId, const bool reuseValidator = false )
XMLException An exception from the parser or client
handler code.
reuseValidator - Indicates whether the validator should be
reused, ignoring any external subset. If true, there
cannot be any internal subset.
virtual void parse( const char* const systemId, const bool reuseValidator = false )
XMLException An exception from the parser or client
handler code.
reuseValidator - Indicates whether the validator should be
reused, ignoring any external subset. If true, there
cannot be any internal subset.
alphabetic index hierarchy of classes
Xerces-C XML Parser for C++ Version 1.1 |
|
generated by doc++