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 NamespaceURL
- the namespace URL.
- 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.
|
|
setNamespaceHandler
- Description
Since LibreOffice 5.3
|
|
Copyright © 2020, 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.