Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: xml :: sax ::
interface XParser
Description
specifies a SAX parser.
This interface is an IDL version of the Java interface
org.xml.sax.Parser with some minor adaptations.
Methods' Summary
parseStream
parses an XML document from a stream.
setDocumentHandler
allows an application to register a document event handler.
setErrorHandler
allows an application to register an error event handler.
setDTDHandler
allows an application to register a DTD-Handler.
setEntityResolver
allows an application to register a DTD-Handler.
setLocale
sets a locale specified for localization of warnings and error messages.
Methods' Details
parseStream
Description
parses an XML document from a stream.
Set the desired handlers before calling this method.
setDocumentHandler
Description
allows an application to register a document event handler.
setErrorHandler
Description
allows an application to register an error event handler.
Note that the error handler can throw an exception when an error or
warning occurs. Note that an exception is thrown by the parser when
an unrecoverable (fatal) error occurs.
setDTDHandler
Description
allows an application to register a DTD-Handler.
setEntityResolver
Description
allows an application to register a DTD-Handler.
setLocale
void
setLocale (
[in] ::com::sun::star::lang ::Locale
locale );
Description
sets a locale specified for localization of warnings and error messages.
Set the language of the error messages. Useful when the parsing
errors will be presented to the user.
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.