class Xml::MStringDictionary |
This interface defines the API of a single string dictionary. This class is not used directly, but via a derived class the user provides. Derived classes must add all elements, attributes names, and attribute values that belong to this string dictionary as static string tables to the StringPool. WBXML token mappings between strings and WBXML tokens should also be maintained. RStringPool
Public Member Functions | |
---|---|
void | AttributeL ( TInt , RString &) |
void | AttributeValueL ( TInt , RString &) |
void | AttributeValuePairL ( TInt , RString &, RString &) |
TBool | CompareThisDictionary (const RString &) |
void | ElementL ( TInt , RString &) |
void | NamespaceUri ( RString &) |
void | PublicIdentifier ( RString &) |
void | Release () |
TInt | SwitchCodePage ( TInt ) |
void | AttributeL | ( | TInt | aToken, |
RString & | aAttribute | |||
) | const [pure virtual] |
This method returns the attribute string associated with the given token.
void | AttributeValueL | ( | TInt | aToken, |
RString & | aValue | |||
) | const [pure virtual] |
This method returns the value string associated with the given token.
void | AttributeValuePairL | ( | TInt | aToken, |
RString & | aAttribute, | |||
RString & | aValue | |||
) | const [pure virtual] |
This method returns the attribute and value string associated with the given token.
TBool | CompareThisDictionary | ( | const RString & | aDictionaryDescription | ) | const [pure virtual] |
This method compares the Dictionary description with that provided.
const RString & aDictionaryDescription | The description we want to compare. |
void | ElementL | ( | TInt | aToken, |
RString & | aElement | |||
) | const [pure virtual] |
This method returns the element string associated with the given token.
void | NamespaceUri | ( | RString & | aUri | ) | [pure virtual] |
The element types in the Device Information DTD are defined within a namespace associated with the Uri/Urn available from the StringTable. The RString need not be closed, but closing is harmless.
RString & aUri | The associated namespace for this string dictionary. |
void | PublicIdentifier | ( | RString & | aPubId | ) | [pure virtual] |
This method obtains the public identifier from the StringTable. Either the formal or non formal public id will do. The stringDictionary .rss files must list both these as wbxml documents have one or the other.
RString & aPubId | The public identifier for this string dictionary. |
void | Release | ( | ) | [pure virtual] |
This method allows for the correct destrution of the string dictionary plugin.
TInt | SwitchCodePage | ( | TInt | aCodePage | ) | [pure virtual] |
This method switches the dictionary to use the specified codepage.
TInt aCodePage | The code page to switch to. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.