Basic interface for SAX error handlers.
More...
#include <base/xml/XMLReader.h>
Basic interface for SAX error handlers.
- Version
- 1.0
- Examples
- testsuite/sax.cpp.
◆ cdataBlock()
virtual void XMLReader::ContentHandler::cdataBlock |
( |
const String & |
value | ) |
|
|
virtualnoexcept |
Receives notification of a CDATA block.
◆ characters()
virtual void XMLReader::ContentHandler::characters |
( |
const String & |
value | ) |
|
|
virtualnoexcept |
Receives notification of character data.
◆ comment()
virtual void XMLReader::ContentHandler::comment |
( |
const String & |
value | ) |
|
|
virtualnoexcept |
Receives notification of a comment.
◆ endDocument()
virtual void XMLReader::ContentHandler::endDocument |
( |
| ) |
|
|
virtualnoexcept |
Receives notification of the end of a document.
The SAX parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input.
◆ endElement()
virtual void XMLReader::ContentHandler::endElement |
( |
const String & |
namespaceURI, |
|
|
const String & |
localName, |
|
|
const String & |
qName |
|
) |
| |
|
virtualnoexcept |
Receives notification of the end of an element.
◆ endPrefixMapping()
virtual void XMLReader::ContentHandler::endPrefixMapping |
( |
const String & |
prefix | ) |
|
|
virtualnoexcept |
End the scope of a prefix-URI mapping.
◆ entityReference()
virtual void XMLReader::ContentHandler::entityReference |
( |
const String & |
name | ) |
|
|
virtualnoexcept |
Receives notification of an entity reference.
◆ ignorableWhitespace()
virtual void XMLReader::ContentHandler::ignorableWhitespace |
( |
const String & |
value | ) |
|
|
virtualnoexcept |
Receives notification of ignorable whitespace in element content.
◆ processingInstruction()
virtual void XMLReader::ContentHandler::processingInstruction |
( |
const String & |
target, |
|
|
const String & |
data |
|
) |
| |
|
virtualnoexcept |
Receives notification of a processing instruction.
◆ setDocumentLocator()
virtual void XMLReader::ContentHandler::setDocumentLocator |
( |
Locator * |
locator | ) |
|
|
virtualnoexcept |
Receives an object for locating the origin of SAX document events.
◆ skippedEntity()
virtual void XMLReader::ContentHandler::skippedEntity |
( |
const String & |
name | ) |
|
|
virtualnoexcept |
Receives notification of a skipped entity.
◆ startDocument()
virtual void XMLReader::ContentHandler::startDocument |
( |
| ) |
|
|
virtualnoexcept |
Receives notification of the beginning of a document.
The SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).
◆ startElement()
virtual void XMLReader::ContentHandler::startElement |
( |
const String & |
namespaceURI, |
|
|
const String & |
localName, |
|
|
const String & |
qName, |
|
|
const Attributes & |
attributes |
|
) |
| |
|
virtualnoexcept |
Receives notification of the beginning of an element.
◆ startPrefixMapping()
virtual void XMLReader::ContentHandler::startPrefixMapping |
( |
const String & |
prefix, |
|
|
const String & |
uri |
|
) |
| |
|
virtualnoexcept |
Begin the scope of a prefix-URI Namespace mapping.