LibreOffice LibreOffice 6.2 SDK API Reference

XParser.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19 #ifndef __com_sun_star_xml_sax_XParser_idl__
20 #define __com_sun_star_xml_sax_XParser_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23
24 #include <com/sun/star/xml/sax/InputSource.idl>
25
26 #include <com/sun/star/xml/sax/SAXException.idl>
27
28 #include <com/sun/star/io/IOException.idl>
29
30 #include <com/sun/star/xml/sax/XDocumentHandler.idl>
31
32 #include <com/sun/star/xml/sax/XErrorHandler.idl>
33
34 #include <com/sun/star/xml/sax/XDTDHandler.idl>
35
36 #include <com/sun/star/xml/sax/XEntityResolver.idl>
37
38 #include <com/sun/star/lang/Locale.idl>
39
40
41
42 module com { module sun { module star { module xml { module sax {
43
44
50 published interface XParser: com::sun::star::uno::XInterface
51 {
56 void parseStream( [in] com::sun::star::xml::sax::InputSource aInputSource )
57 raises( com::sun::star::xml::sax::SAXException,
58 com::sun::star::io::IOException );
59
62 void setDocumentHandler( [in] com::sun::star::xml::sax::XDocumentHandler xHandler );
63
70 void setErrorHandler( [in] com::sun::star::xml::sax::XErrorHandler xHandler );
71
74 void setDTDHandler( [in] com::sun::star::xml::sax::XDTDHandler xHandler );
75
78 void setEntityResolver( [in] com::sun::star::xml::sax::XEntityResolver xResolver );
79
85 void setLocale( [in] com::sun::star::lang::Locale locale );
86 };
87
88
89 }; }; }; }; };
90
91 #endif
92
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition: IOException.idl:30
com::sun::star::xml::sax::XDocumentHandler
receives notification of general document events.
Definition: XDocumentHandler.idl:41
com::sun::star::xml::sax::XEntityResolver
makes it possible to modify the behavior of resolving external preferences.
Definition: XEntityResolver.idl:38
com
Definition: Ambiguous.idl:22
IOException.idl
XErrorHandler.idl
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:47
com::sun::star::xml::sax::XDTDHandler
receives events according to the DTD of the document.
Definition: XDTDHandler.idl:42
com::sun::star::xml::sax::XErrorHandler
is the basic interface for SAX error handlers.
Definition: XErrorHandler.idl:44
Locale.idl
XInterface.idl
com::sun::star::xml::sax::SAXException
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:41
com::sun::star::xml::sax::InputSource
specifies the Datasource plus some additional information for the parser.
Definition: InputSource.idl:40
XDTDHandler.idl
XDocumentHandler.idl
SAXException.idl
InputSource.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
XEntityResolver.idl
com::sun::star::xml::sax::XParser
specifies a SAX parser.
Definition: XParser.idl:50