LibreOffice
LibreOffice 7.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XFastParser.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_XFastParser_idl__
20 #define __com_sun_star_xml_sax_XFastParser_idl__
21 
23 
25 
27 
29 
33 
35 
37 
39 
41 
42 #include <com/sum/star/xml/sax/XFastNamespaceHandler.idl>
43 
45 
46 
47 module com { module sun { module star { module xml { module sax {
48 
49 
108 {
113  void parseStream( [in] InputSource aInputSource )
115 
116 
120  void setFastDocumentHandler( [in] XFastDocumentHandler Handler );
121 
122 
125  void setTokenHandler( [in] XFastTokenHandler Handler );
126 
127 
133  void registerNamespace( [in] string NamespaceURL, [in] long NamespaceToken )
135 
142  void setErrorHandler( [in] XErrorHandler Handler );
143 
146  void setEntityResolver( [in] XEntityResolver Resolver );
147 
153  void setLocale( [in] com::sun::star::lang::Locale locale );
154 
157  string getNamespaceURL( [in] string prefix )
159 
161  void setNamespaceHandler( [in] XFastNamespaceHandler Handler);
162 
168  void setCustomEntityNames( [in] sequence< beans::Pair<string,string> > replacements);
169 };
170 
171 
172 }; }; }; }; };
173 
174 #endif
175 
176 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is thrown when an input or output error has occurred.
Definition: IOException.idl:30
makes it possible to modify the behavior of resolving external preferences.
Definition: XEntityResolver.idl:38
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:37
specifies a SAX parser that uses integer values for known XML names (elements, attributes and attribu...
Definition: XFastParser.idl:107
is the basic interface for SAX error handlers.
Definition: XErrorHandler.idl:44
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:41
specifies the Datasource plus some additional information for the parser.
Definition: InputSource.idl:40
interface to translate XML strings to integer tokens.
Definition: XFastTokenHandler.idl:38
Stores and manages namespace declarations of a sax document parsed by XFastParser.
Definition: XFastNamespaceHandler.idl:31
receives notification of sax document events from a XFastParser
Definition: XFastDocumentHandler.idl:38
base interface of all UNO interfaces
Definition: XInterface.idl:47