classIBXMLCALL DTDHandler

Interface for DTD event handling

Inheritance:

DTDHandler


Public

[more] Constructors and destructor.
[more] The DTD event handler interface.


Documentation

Interface for DTD event handling.

The SAX parser can use an implementation of this interface to report notation and unparsed entity declarations to an application. The application should implement this interface in a suitable manner for its needs and register an instance with the SAX parser using the setDTDHandler() method of the parser driver object (see the classes Parser, DriverText and DriverIcedb). The default implementation of this interface in HandlerBase simply ignores these events.

The DTD events may be reported by the SAX parser in any order, regardless of declaration order in the document. All DTD events are reported after the startDocument() event of the document event handler is reported and before the first startElement() event of the document event handler is reported.

o Constructors and destructor.

o DTDHandler()
Default constructor.

ovirtual ~DTDHandler()
Destructor.

o The DTD event handler interface.

ovoid notationDecl(const ibxmlchar* name, const ibxmlchar* publicId, const ibxmlchar* systemId)
Callback notifying the client that the parser has encountered a notation declaration.

If a system identifier is present, and it is a URL, the SAX parser should resolve it fully before passing it to the application.

Parameters:
name - Pointer to a string containing the notation name.
publicId - Pointer to a string containing the public identifier of the notation. If no public identifier is specified, null is passed.
systemId - Pointer to a string containing the system identifier of the notation. If no public identifier is specified, null is passed.

ovoid unparsedEntityDecl(const ibxmlchar* name, const ibxmlchar* publicId, const ibxmlchar* systemId, const ibxmlchar* notationName)
Callback notifying the client that the parser has encountered an unparsed entity declaration.

If a system identifier is present, and it is a URL, the SAX parser should resolve it fully before passing it to the application.

Parameters:
name - Pointer to a string containing the name of the unparsed entity.
publicId - Pointer to a string containing the public identifier of the notation. If no public identifier is specified, null is passed.
systemId - Pointer to a string containing the system identifier of the notation. If no public identifier is specified, null is passed.
notationName - Pointer to a string containing the notation name of the associated notation.


Direct child classes:
HandlerBase
See Also:
setDTDHandler
setDTDHandler
setDTDHandler

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.