interface XDocumentHandler in module com::sun::star::xml::sax::

(Global Index)

Syntax

interface XDocumentHandler : com::sun::star::uno::XInterface ;

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.

Method 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.

Known Services Which Export this Interface

com::sun::star::xml::XMLImportFilter

Method Details



startDocument

Syntax

void startDocument ();
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of the beginning of a document.


endDocument

Syntax

void endDocument ();
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of the end of a document.


startElement

Syntax

void startElement (
string aName,
com::sun::star::xml::sax::XAttributeList xAttribs )
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of the beginning of an element .


endElement

Syntax

void endElement (
string aName )
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of the end of an element.


characters

Syntax

void characters (
string aChars )
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of character data.


ignorableWhitespace

Syntax

void ignorableWhitespace (
string aWhitespaces )
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of white space that can be ignored.


processingInstruction

Syntax

void processingInstruction (
string aTarget,
string aData )
raises ( com::sun::star::xml::sax::SAXException );

Description

receives notification of a processing instruction.


setDocumentLocator

Syntax

void setDocumentLocator (
com::sun::star::xml::sax::XLocator xLocator )
raises ( com::sun::star::xml::sax::SAXException );

Description

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

Top of Page