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 XDocumentHandler
Description
receives notification of general document events.

This interface is an IDL version of the Java interface org.xml.sax.DocumentHandler with some smaller adaptations.

Developers Guide
OfficeDev - Writing the Filtering Component
OfficeDev - Writing the Filtering Component - XDocumentHandler

Methods' Summary
startDocument receives notification of the beginning of a document.  
endDocument receives notification of the end of a document.  
startElement receives notification of the beginning of an element .  
endElement receives notification of the end of an element.  
characters receives notification of character data.  
ignorableWhitespace receives notification of white space that can be ignored.  
processingInstruction receives notification of a processing instruction.  
setDocumentLocator receives an object for locating the origin of SAX document events.  
Methods' Details
startDocument
void
startDocument()
raises( SAXException );

Description
receives notification of the beginning of a document.
endDocument
void
endDocument()
raises( SAXException );

Description
receives notification of the end of a document.
startElement
void
startElement( [in] string  aName,
[in] XAttributeList  xAttribs )
raises( SAXException );

Description
receives notification of the beginning of an element .
endElement
void
endElement( [in] string  aName )
raises( SAXException );

Description
receives notification of the end of an element.
characters
void
characters( [in] string  aChars )
raises( SAXException );

Description
receives notification of character data.
ignorableWhitespace
void
ignorableWhitespace( [in] string  aWhitespaces )
raises( SAXException );

Description
receives notification of white space that can be ignored.
processingInstruction
void
processingInstruction( [in] string  aTarget,
[in] string  aData )
raises( SAXException );

Description
receives notification of a processing instruction.
setDocumentLocator
void
setDocumentLocator( [in] XLocator  xLocator )
raises( SAXException );

Description
receives an object for locating the origin of SAX document events.
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.