diff options
author | Oliver Bolte <obo@openoffice.org> | 2003-09-04 08:10:55 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2003-09-04 08:10:55 +0000 |
commit | c6188099d489daf9fb228d31a3f8ceac9e8d6c79 (patch) | |
tree | 7c74d7b7407f8a44dae798dfe923870feee9c4b6 /offapi/com/sun | |
parent | b458beb6b79029b5bde7a57d1e13ad9ec6415be7 (diff) |
INTEGRATION: CWS cliuno01 (1.1.2); FILE ADDED
2003/08/19 14:27:23 dbo 1.1.2.1: #110159# revised API
Diffstat (limited to 'offapi/com/sun')
-rw-r--r-- | offapi/com/sun/star/xml/input/XRoot.idl | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/offapi/com/sun/star/xml/input/XRoot.idl b/offapi/com/sun/star/xml/input/XRoot.idl new file mode 100644 index 000000000000..ae1998aaf01b --- /dev/null +++ b/offapi/com/sun/star/xml/input/XRoot.idl @@ -0,0 +1,129 @@ +/************************************************************************* + * + * $RCSfile: XRoot.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: obo $ $Date: 2003-09-04 09:10:55 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#if ! defined INCLUDED__com_sun_star_xml_input_XRoot_idl__ +#define INCLUDED__com_sun_star_xml_input_XRoot_idl__ + +#include <com/sun/star/container/XNameAccess.idl> +#include <com/sun/star/xml/input/XElement.idl> +#include <com/sun/star/xml/input/XAttributes.idl> +#include <com/sun/star/xml/sax/SAXException.idl> +#include <com/sun/star/xml/sax/XLocator.idl> + + +module com { module sun { module star { module xml { module input { + +/** Root interface being passed to SaxDocumentHandler service upon + instantiation. +*/ +interface XRoot : com::sun::star::uno::XInterface +{ + /** Receives notification of the beginning of a document. + + @param xUidMapping + mapping to obtain ids out of XML namespace URIs + (XNameAccess value type is IDL long) + */ + void startDocument( + [in] com::sun::star::container::XNameAccess xUidMapping ) + raises (com::sun::star::xml::sax::SAXException); + + /** Receives notification of the end of a document. + */ + void endDocument() + raises (com::sun::star::xml::sax::SAXException); + + /** Receives notification of a processing instruction. + + @param Target + target + @param Data + data + */ + void processingInstruction( + [in] string Target, [in] string Data ) + raises (com::sun::star::xml::sax::SAXException); + + /** Receives an object for locating the origin of SAX document events. + + @param Locator + locator + */ + void setDocumentLocator( + [in] com::sun::star::xml::sax::XLocator Locator ) + raises (com::sun::star::xml::sax::SAXException); + + /** Called upon root element. + + @param Uid + namespace uid of element + @param LocalName + localname of element + @param xAattributes + attributes of element + */ + XElement startRootElement( + [in] long Uid, [in] string LocalName, [in] XAttributes xAttributes ) + raises (com::sun::star::xml::sax::SAXException); +}; + +}; }; }; }; }; + +#endif |