Methods' Summary |
parseStream |
parses an XML document from a stream.
|
setFastDocumentHandler |
Application must register a document event handler to get
sax events for the parsed stream.
|
setTokenHandler |
must be registered to translate known XML names to integer tokens.
|
registerNamespace |
registers a known namespace url with the given integer token.
|
setErrorHandler |
allows an application to register an error event handler.
|
setEntityResolver |
allows an application to register a DTD-Handler.
|
setLocale |
sets a locale specified for localization of warnings and error messages.
|
getNamespaceURL |
Gets the namespace url string.
|
Methods' Details |
parseStream
- Description
- parses an XML document from a stream.
Set the desired handlers before calling this method.
|
|
setFastDocumentHandler
- Description
- Application must register a document event handler to get
sax events for the parsed stream.
|
|
setTokenHandler
- Description
- must be registered to translate known XML names to integer tokens.
|
|
registerNamespace
- Description
- registers a known namespace url with the given integer token.
- Parameter NamespaceToken
- an integer token that must be greater than FastToken::NAMESPACE.
|
|
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.
|
|
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.
|
|
getNamespaceURL
- Description
- Gets the namespace url string.
|
|
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.