CXCFWLocalizer Class Reference
class CXCFWLocalizer : public CBase
|
Localization handling class. Responsible for holding entity references and their corresponding text values loaded from a DTD file. Used for content localization purposes in XCFW.
XCFW.lib
-
Since
-
Series 60 3.1
Constructor & Destructor Documentation
CXCFWLocalizer()
CXCFWLocalizer
|
(
|
)
|
[private]
|
~CXCFWLocalizer()
~CXCFWLocalizer
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
EntityRefToText(TDesC &, TPtrC &)
Converts a XML entity reference to localized text
-
Since
-
Series 60 3.1
Parameters
TDesC
& aRef
|
Entity reference to convert
|
TPtrC
& aText
|
Localized text returned
|
LastError()
Returns error code from the last LoadDTDL operation Engine uses this to check that operation was successful when Localizer completes the pending request.
-
Since
-
Series 60 3.1
LoadDTDL(const TDesC &, RFs &, TRequestStatus *)
Loads Entity references from DTD file
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aDTD
|
File to load
|
RFs
& aFileSystem
|
|
TRequestStatus
* aStatus
|
Engine's request status, which Localizer will complete when DTD parsing is ready
|
ParseDTDL(RFileReadStream &)
DTD file parsing facility
-
Since
-
Series 60 3.1
TextToEntityRef(TDesC &, TPtrC &)
Converts given localized text into an entity reference ince Series 60 3.1
Parameters
TDesC
& aText
|
text to get entity reference for
|
TPtrC
& aRef
|
Entity reference returned
|
Member Data Documentation
CDesCArraySeg * iLocStrings
CDesCArraySeg * iReferences
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.