(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.