LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
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
20
21module com { module sun { module star { module xml { module sax {
22
23
81 interface XFastParser: com::sun::star::uno::XInterface
82{
87 void parseStream( [in] InputSource aInputSource )
88 raises( SAXException, com::sun::star::io::IOException );
89
90
94 void setFastDocumentHandler( [in] XFastDocumentHandler Handler );
95
96
99 void setTokenHandler( [in] XFastTokenHandler Handler );
100
101
107 void registerNamespace( [in] string NamespaceURL, [in] long NamespaceToken )
108 raises( com::sun::star::lang::IllegalArgumentException );
109
116 void setErrorHandler( [in] XErrorHandler Handler );
117
120 void setEntityResolver( [in] XEntityResolver Resolver );
121
127 void setLocale( [in] com::sun::star::lang::Locale locale );
128
131 string getNamespaceURL( [in] string prefix )
132 raises( com::sun::star::lang::IllegalArgumentException );
133
135 void setNamespaceHandler( [in] XFastNamespaceHandler Handler);
136
142 void setCustomEntityNames( [in] sequence< beans::Pair<string,string> > replacements);
143};
144
145
146}; }; }; }; };
147
148/* 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::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.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::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::XFastDocumentHandler
receives notification of sax document events from a XFastParser
Definition XFastDocumentHandler.idl:29
com::sun::star::xml::sax::XFastNamespaceHandler
Stores and manages namespace declarations of a sax document parsed by XFastParser.
Definition XFastNamespaceHandler.idl:28
com::sun::star::xml::sax::XFastParser
specifies a SAX parser that uses integer values for known XML names (elements, attributes and attribu...
Definition XFastParser.idl:82
com::sun::star::xml::sax::XFastParser::getNamespaceURL
string getNamespaceURL([in] string prefix)
Gets the namespace url string.
com::sun::star::xml::sax::XFastParser::setNamespaceHandler
void setNamespaceHandler([in] XFastNamespaceHandler Handler)
com::sun::star::xml::sax::XFastParser::parseStream
void parseStream([in] InputSource aInputSource)
parses an XML document from a stream.
com::sun::star::xml::sax::XFastParser::setFastDocumentHandler
void setFastDocumentHandler([in] XFastDocumentHandler Handler)
Application must register a document event handler to get sax events for the parsed stream.
com::sun::star::xml::sax::XFastParser::registerNamespace
void registerNamespace([in] string NamespaceURL, [in] long NamespaceToken)
registers a known namespace url with the given integer token.
com::sun::star::xml::sax::XFastParser::setTokenHandler
void setTokenHandler([in] XFastTokenHandler Handler)
must be registered to translate known XML names to integer tokens.
com::sun::star::xml::sax::XFastParser::setLocale
void setLocale([in] com::sun::star::lang::Locale locale)
sets a locale specified for localization of warnings and error messages.
com::sun::star::xml::sax::XFastParser::setEntityResolver
void setEntityResolver([in] XEntityResolver Resolver)
allows an application to register a DTD-Handler.
com::sun::star::xml::sax::XFastParser::setErrorHandler
void setErrorHandler([in] XErrorHandler Handler)
allows an application to register an error event handler.
com::sun::star::xml::sax::XFastParser::setCustomEntityNames
void setCustomEntityNames([in] sequence< beans::Pair< string, string > > replacements)
Simulate a DTD file.
com::sun::star::xml::sax::XFastTokenHandler
interface to translate XML strings to integer tokens.
Definition XFastTokenHandler.idl:35
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