Inheritance diagram for LexicalHandler:
Public Methods | |
Constructors and Destructor | |
LexicalHandler () | |
virtual | ~LexicalHandler () |
The virtual document handler interface | |
virtual void | comment (const XMLCh *const chars, const unsigned int length)=0 |
virtual void | endCDATA ()=0 |
virtual void | endDTD ()=0 |
virtual void | endEntity (const XMLCh *const name)=0 |
virtual void | startCDATA ()=0 |
virtual void | startDTD (const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)=0 |
virtual void | startEntity (const XMLCh *const name)=0 |
This is an extension handler for that provides lexical information about an XML document. It does not provide information about document content. For those events, an application must register an instance of a ContentHandler.
The order of events in this interface is very important, and mirrors the order of information in the document itself. For example, startDTD() and endDTD() events will occur before the first element in the document.
SAX2XMLReader#setContentHandler
|
Default constructor |
|
Destructor |
|
Receive notification of comments. The Parser will call this method to report each occurence of a comment in the XML document. The application must not attempt to read from the array outside of the specified range.
Implemented in DefaultHandler. |
|
Receive notification of the end of a CDATA section. The SAX parser will invoke this method at the end of each CDATA parsed.
Implemented in DefaultHandler. |
|
Receive notification of the end of the DTD declarations. The SAX parser will invoke this method at the end of the DTD
Implemented in DefaultHandler. |
|
Receive notification of the end of an entity. The SAX parser will invoke this method at the end of an entity
Implemented in DefaultHandler. |
|
Receive notification of the start of a CDATA section. The SAX parser will invoke this method at the start of each CDATA parsed.
Implemented in DefaultHandler. |
|
Receive notification of the start of the DTD declarations. The SAX parser will invoke this method at the start of the DTD
Implemented in DefaultHandler. |
|
Receive notification of the start of an entity. The SAX parser will invoke this method at the start of an entity
Implemented in DefaultHandler. |