Basic interface for SAX (Simple API for XML) parsers
![]() | Constructors and Destructor
| ||||||||||||
![]() | The parser interfaces
| ||||||||||||
![]() | Unimplemented constructors and operators
|
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)
IOException An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.
parse(String)
setEntityResolver
setDTDHandler
setDocumentHandler
setErrorHandler virtual void parse(const XMLCh* const systemId)
IOException An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.
void operator=(const Parser&)
alphabetic index hierarchy of classes
XML Parser for C++ 2.0 Copyright © IBM Corp, 1999 Center for Java Technology 10275 N. De Anza Blvd. Cupertino CA 95014 USA Email: xml4c@us.ibm.com |
|