#include <xml/stringdictionarycollection.h>
Link against: xmlframework.lib
class Xml::RStringDictionaryCollection |
Public Member Functions | |
---|---|
RStringDictionaryCollection() | |
IMPORT_C void | Close() |
IMPORT_C MStringDictionary & | CurrentDictionaryL() |
IMPORT_C void | OpenDictionaryL(const TDesC8 &) |
IMPORT_C void | OpenL() |
IMPORT_C RStringPool & | StringPool() |
The RStringDictionaryCollection class holds a collection of Dictionaries requested by the user.
IMPORT_C | RStringDictionaryCollection | ( | ) |
Default constructor
IMPORT_C void | Close | ( | ) |
This method cleans up the object before destruction. It releases all resources in accordance to the R Class pattern.
IMPORT_C MStringDictionary & | CurrentDictionaryL | ( | ) | const |
This method obtains the current string dictionary in use. Also, serves as a way to test if any dictionaries have been loaded as none needs be.
Leave Codes | |
---|---|
KErrXmlMissingStringDictionary | if there is no dictionary |
IMPORT_C void | OpenDictionaryL | ( | const TDesC8 & | aDictionaryDescription | ) |
This method loads the Dictionary.
Parameters | |
---|---|
aDictionaryDescription | The Namepspace MIME type. |
IMPORT_C void | OpenL | ( | ) |
This method opens this resource incrementing the reference count. It must be the first method called after construction.
IMPORT_C RStringPool & | StringPool | ( | ) |
This method obtains a handle to the RStringPool