Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.12

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XExtendedDocumentHandler
Base Interfaces
XExtendedDocumentHandlerXDocumentHandler

XDocumentHandler
(referenced interface's summary:)
receives notification of general document events.
Description
this interface does not conform to the SAX-standard.

Note: Whether or not every callback is supported is dependent on the parser implementation.


Methods' Summary
startCDATA receives notification about the start of a CDATA section in the XML-source.  
endCDATA informs about the end of a CDATA-Section.  
comment receives notification about a comment in the XML-source.  
allowLineBreak informs a writer that it is allowable to insert a line break and indentation before the next XDocumentHandler-call.  
unknown notifies that any characters that cannot be handled by other callback methods are announced through this method.  
Methods' Details
startCDATA
void
startCDATA()
raises( SAXException );

Description
receives notification about the start of a CDATA section in the XML-source.

Any string comming in via character handler may include chars, that would otherwise be interpreted as markup.

endCDATA
void
endCDATA();

Description
informs about the end of a CDATA-Section.

Note that startCDATA/endCDATA MUST NOT enclose any startElement/endElement-call!

comment
void
comment( [in] string  sComment )
raises( SAXException );

Description
receives notification about a comment in the XML-source.
allowLineBreak
void
allowLineBreak()
raises( SAXException );

Description
informs a writer that it is allowable to insert a line break and indentation before the next XDocumentHandler-call.
unknown
void
unknown( [in] string  sString )
raises( SAXException );

Description
notifies that any characters that cannot be handled by other callback methods are announced through this method.
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.