Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: 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 UTF-8.

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 UTF-8 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 UTF-8.

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.