Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XDocumentHandler

Base Interface
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.



Known Services which Export this Interface

com::sun::star::xml::XMLImportFilter describes an import filter for XML-based file formats. It is an extension of ImportFilter and differs from it in that this filter additionally supports the XDocumentHandler interface.

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 ( com::sun::star::xml::sax::SAXException );

Description
receives notification of the beginning of a document.
endDocument
 
void
endDocument( )
raises ( com::sun::star::xml::sax::SAXException );

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

Description
receives notification of the beginning of an element .
endElement
 
void
endElement(
[ in ] string aName )
raises ( com::sun::star::xml::sax::SAXException );

Description
receives notification of the end of an element.
characters
 
void
characters(
[ in ] string aChars )
raises ( com::sun::star::xml::sax::SAXException );

Description
receives notification of character data.
ignorableWhitespace
 
void
ignorableWhitespace(
[ in ] string aWhitespaces )
raises ( com::sun::star::xml::sax::SAXException );

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

Description
receives notification of a processing instruction.
setDocumentLocator
 
void
setDocumentLocator(
[ in ] 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