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

interface XDocumentHandler
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-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
6.2.4 Office Development - Common Application Features - Integrating Import and Export Filters - XML Based Filter Development - Writing the Filtering Component - XDocumentHandler
6.2.4 Office Development - Common Application Features - Integrating Import and Export Filters - XML Based Filter Development - Writing the Filtering Component

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
[in] XAttributeList 

raises(

 
aName,
xAttribs ) 
SAXException );

Description
receives notification of the beginning of an element .
endElement
void
endElement(
 
[in] string 

raises(

 
aName ) 
SAXException );

Description
receives notification of the end of an element.
characters
void
characters(
 
[in] string 

raises(

 
aChars ) 
SAXException );

Description
receives notification of character data.
ignorableWhitespace
void
ignorableWhitespace(
 
[in] string 

raises(

 
aWhitespaces ) 
SAXException );

Description
receives notification of white space that can be ignored.
processingInstruction
void
processingInstruction(
 
[in] string
[in] string 

raises(

 
aTarget,
aData ) 
SAXException );

Description
receives notification of a processing instruction.
setDocumentLocator
void
setDocumentLocator(
 
[in] XLocator 

raises(

 
xLocator ) 
SAXException );

Description
receives an object for locating the origin of SAX document events.
Top of Page