1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_xml_sax_XFastDocumentHandler_idl__ 24#define __com_sun_star_xml_sax_XFastDocumentHandler_idl__ 25 26#ifndef __com_sun_star_uno_XInterface_idl__ 27#include <com/sun/star/uno/XInterface.idl> 28#endif 29 30#ifndef __com_sun_star_xml_sax_SAXException_idl__ 31#include <com/sun/star/xml/sax/SAXException.idl> 32#endif 33 34#ifndef __com_sun_star_xml_sax_XFastAttributeList_idl__ 35#include <com/sun/star/xml/sax/XFastAttributeList.idl> 36#endif 37 38#ifndef __com_sun_star_xml_sax_XFastContextHandler_idl__ 39#include <com/sun/star/xml/sax/XFastContextHandler.idl> 40#endif 41 42#ifndef __com_sun_star_xml_sax_XLocator_idl__ 43#include <com/sun/star/xml/sax/XLocator.idl> 44#endif 45 46 47//============================================================================= 48 49module com { module sun { module star { module xml { module sax { 50 51//============================================================================= 52 53/** receives notification of sax document events from a 54 <type>XFastParser</type> 55 */ 56interface XFastDocumentHandler: XFastContextHandler 57{ 58 //------------------------------------------------------------------------- 59 60 /** called by the parser when parsing of an xml stream is started. 61 */ 62 void startDocument() 63 raises( com::sun::star::xml::sax::SAXException ); 64 65 //------------------------------------------------------------------------- 66 67 /** called by the parser after the last xml element of a stream is processed. 68 */ 69 void endDocument() 70 raises( com::sun::star::xml::sax::SAXException ); 71 72 //------------------------------------------------------------------------- 73 74 /** receives an object for locating the origin of SAX document events. 75 */ 76 void setDocumentLocator( [in] com::sun::star::xml::sax::XLocator xLocator ) 77 raises( com::sun::star::xml::sax::SAXException ); 78 79}; 80 81//============================================================================= 82 83}; }; }; }; }; 84 85#endif 86