Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: xml :: sax ::

interface XDTDHandler
Description
receives events according to the DTD of the document.

The SAX parser may report these events in any order, regardless of the order in which the notations and unparsed entities were declared; however, all DTD events must be reported after the document handler's startDocument event, and before the first startElement event. It is up to the application to store the information for future use (perhaps in a hash table or object tree). If the application encounters attributes of type "NOTATION", "ENTITY", or "ENTITIES", it can use the information that it obtained through this interface to find the entity and/or notation that corresponds with the attribute value.


Methods' Summary
notationDecl receives notification of a notation declaration event.  
unparsedEntityDecl receives notification of an unparsed entity declaration event.  
Methods' Details
notationDecl
void
notationDecl( [in] string  sName,
[in] string  sPublicId,
[in] string  sSystemId );

Description
receives notification of a notation declaration event.
unparsedEntityDecl
void
unparsedEntityDecl( [in] string  sName,
[in] string  sPublicId,
[in] string  sSystemId,
[in] string  sNotationName );

Description
receives notification of an unparsed entity declaration event.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.