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. $Log: Parser.hpp,v $ Revision 1.1.1.1 1999/11/09 01:07:46 twl Initial checkin Revision 1.3 1999/11/08 20:45:02 rahul Swat for adding in Product name and CVS comment log variable.
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.
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 |
|