:: 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 © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.