LibreOffice: com/sun/star/xml/sax/XParser.idl Source File

LibreOffice LibreOffice 24.8 SDK API Reference |

Loading...
Searching...
No Matches
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
20
21
22module com { module sun { module star { module xml { module sax {
23
24
30published interface XParser: com::sun::star::uno::XInterface
31{
36 void parseStream( [in] com::sun::star::xml::sax::InputSource aInputSource )
37 raises( com::sun::star::xml::sax::SAXException,
38 com::sun::star::io::IOException );
39
42 void setDocumentHandler( [in] com::sun::star::xml::sax::XDocumentHandler xHandler );
43
50 void setErrorHandler( [in] com::sun::star::xml::sax::XErrorHandler xHandler );
51
54 void setDTDHandler( [in] com::sun::star::xml::sax::XDTDHandler xHandler );
55
58 void setEntityResolver( [in] com::sun::star::xml::sax::XEntityResolver xResolver );
59
65 void setLocale( [in] com::sun::star::lang::Locale locale );
66};
67
68
69}; }; }; }; };
70
71/* 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:27
com::sun::star::xml::sax::SAXException
encapsulates the details of an XML parse error or warning.
Definition SAXException.idl:38
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com::sun::star::xml::sax::XDTDHandler
receives events according to the DTD of the document.
Definition XDTDHandler.idl:39
com::sun::star::xml::sax::XDocumentHandler
receives notification of general document events.
Definition XDocumentHandler.idl:32
com::sun::star::xml::sax::XEntityResolver
makes it possible to modify the behavior of resolving external preferences.
Definition XEntityResolver.idl:33
com::sun::star::xml::sax::XErrorHandler
is the basic interface for SAX error handlers.
Definition XErrorHandler.idl:39
com::sun::star::xml::sax::XParser
specifies a SAX parser.
Definition XParser.idl:31
com::sun::star::xml::sax::XParser::setDTDHandler
void setDTDHandler([in] com::sun::star::xml::sax::XDTDHandler xHandler)
allows an application to register a DTD-Handler.
com::sun::star::xml::sax::XParser::setDocumentHandler
void setDocumentHandler([in] com::sun::star::xml::sax::XDocumentHandler xHandler)
allows an application to register a document event handler.
com::sun::star::xml::sax::XParser::setErrorHandler
void setErrorHandler([in] com::sun::star::xml::sax::XErrorHandler xHandler)
allows an application to register an error event handler.
com::sun::star::xml::sax::XParser::setEntityResolver
void setEntityResolver([in] com::sun::star::xml::sax::XEntityResolver xResolver)
allows an application to register a DTD-Handler.
com::sun::star::xml::sax::XParser::parseStream
void parseStream([in] com::sun::star::xml::sax::InputSource aInputSource)
parses an XML document from a stream.
com::sun::star::xml::sax::XParser::setLocale
void setLocale([in] com::sun::star::lang::Locale locale)
sets a locale specified for localization of warnings and error messages.
com
Definition Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition Locale.idl:34
com::sun::star::xml::sax::InputSource
specifies the Datasource plus some additional information for the parser.
Definition InputSource.idl:37