LibreOffice
LibreOffice 24.2 SDK API Reference
|
interface to translate XML strings to integer tokens. More...
import"XFastTokenHandler.idl";
Public Member Functions | |
long | getTokenFromUTF8 ([in] sequence< byte > Identifier) |
returns an integer token for the given string More... | |
sequence< byte > | getUTF8Identifier ([in] long Token) |
returns an identifier for the given integer token as a byte sequence encoded in UTF-8. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
interface to translate XML strings to integer tokens.
An instance of this interface can be registered at a XFastParser. It should be able to translate all XML names (element local names, attribute local names and constant attribute values) to integer tokens.
A token value must be greater or equal to zero and less than FastToken::NAMESPACE. If a string identifier is not known to this instance, FastToken::DONTKNOW is returned.
long getTokenFromUTF8 | ( | [in] sequence< byte > | Identifier | ) |
returns an integer token for the given string
Identifier | the string given as a byte sequence encoded in UTF-8 |
sequence< byte > getUTF8Identifier | ( | [in] long | Token | ) |
returns an identifier for the given integer token as a byte sequence encoded in UTF-8.