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 ::
unpublished
interface XFastTokenHandler
Usage Restrictions
not published
Description
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.
Methods' Summary
getToken
returns a integer token for the given string identifier.
getIdentifier
returns a string identifier for the given integer token.
getTokenFromUTF8
returns a integer token for the given string
getUTF8Identifier
returns a identifier for the given integer token as a byte
sequence encoded in UTF8.
Methods' Details
getToken
long
getToken (
[in] string
Identifier );
Description
returns a integer token for the given string identifier.
Returns
a unique integer token for the given String or FastToken::DONTKNOW
if the identifier is not known to this instance.
getIdentifier
string
getIdentifier (
[in] long
Token );
Description
returns a string identifier for the given integer token.
getTokenFromUTF8
long
getTokenFromUTF8 (
[in] sequence< byte >
Identifier );
Description
returns a integer token for the given string
Parameter Identifier
the string given as a byte sequence encoded in UTF8
Returns
a unique integer token for the given String or FastToken::DONTKNOW
if the identifier is not known to this instance.
getUTF8Identifier
sequence< byte >
getUTF8Identifier (
[in] long
Token );
Description
returns a identifier for the given integer token as a byte
sequence encoded in UTF8.
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.