Difference between revisions of "XFastDocumentHandler"
From Apache OpenOffice Wiki
m (fixed link) |
m (updated idl) |
||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
+ | |||
+ | module com { module sun { module star { module xml { module sax { | ||
+ | |||
+ | /** receives notification of sax document events from a | ||
+ | <type>XFastParser</type> | ||
+ | */ | ||
interface XFastDocumentHandler: XFastContextHandler | interface XFastDocumentHandler: XFastContextHandler | ||
{ | { | ||
− | + | /** called by the parser when parsing of an xml stream is started. | |
− | + | */ | |
− | + | void startDocument() | |
+ | raises( com::sun::star::xml::sax::SAXException ); | ||
+ | |||
+ | /** called by the parser after the last xml element of a stream is processed. | ||
+ | */ | ||
+ | void endDocument() | ||
+ | raises( com::sun::star::xml::sax::SAXException ); | ||
+ | |||
+ | /** receives an object for locating the origin of SAX document events. | ||
+ | */ | ||
+ | void setDocumentLocator( [in] com::sun::star::xml::sax::XLocator xLocator ) | ||
+ | raises( com::sun::star::xml::sax::SAXException ); | ||
+ | |||
}; | }; | ||
− | + | ||
+ | }; }; }; }; }; | ||
− | + | </pre> | |
− | + | ||
− | + |
Revision as of 17:02, 1 March 2007
See FastParser, XFastContextHandler
Abstract
IDL
module com { module sun { module star { module xml { module sax { /** receives notification of sax document events from a <type>XFastParser</type> */ interface XFastDocumentHandler: XFastContextHandler { /** called by the parser when parsing of an xml stream is started. */ void startDocument() raises( com::sun::star::xml::sax::SAXException ); /** called by the parser after the last xml element of a stream is processed. */ void endDocument() raises( com::sun::star::xml::sax::SAXException ); /** receives an object for locating the origin of SAX document events. */ void setDocumentLocator( [in] com::sun::star::xml::sax::XLocator xLocator ) raises( com::sun::star::xml::sax::SAXException ); }; }; }; }; }; };