MWapPluginSP Class Reference

class MWapPluginSP

Public Member Functions
CAttributeLookupTable &AttributeLUT()
CNode &DataStorageNode(const CDocumentNode *)
const CDTDNode *PrepareDTDL(const TDesC &, const TDesC &, const CDocumentNode *)
voidResetDocumentNodeData(CDocumentNode *, TAny *)
CWmlLibrary *WmlLibL(CXmlElement *)

Member Functions Documentation

AttributeLUT()

CAttributeLookupTable &AttributeLUT()[pure virtual]
Intended Usage : Gets the Attribute Look Up Table.
Since
6.0

DataStorageNode(const CDocumentNode *)

CNode &DataStorageNode(const CDocumentNode *aDocumentNode)const [pure virtual]
Intended Usage : Gets hold of the actual node that holds the data for the specified document node. The document data may actually be shared amongst several document nodes and actually held in the data dictionary.
Since
6.0

Parameters

const CDocumentNode * aDocumentNodeThe pointer to a document node

PrepareDTDL(const TDesC &, const TDesC &, const CDocumentNode *)

const CDTDNode *PrepareDTDL(const TDesC &aDocType,
const TDesC &aDTDURL,
const CDocumentNode *aDocRootNode
)[pure virtual]
Intended Usage : Preload the specified DTD for validating recieved WML and WMLC decks. The document data handler needs to call this as soon as it knows what type of DTD the document is using. When the document completes, this DTD will be used to validate it before the 100% complete message is passed up to the engine observer.
Since
6.0
TodoAdd the pre and post conditions.
Pre-condition
None
Post-condition
Unspecified

Parameters

const TDesC & aDocTypeThe specified DTD type
const TDesC & aDTDURLThe URL of the DTD to be fetched
const CDocumentNode * aDocRootNodeThe root node of the document to be validated

ResetDocumentNodeData(CDocumentNode *, TAny *)

voidResetDocumentNodeData(CDocumentNode *aDocumentNode,
TAny *aDataPtr
)const [pure virtual]
Intended Usage : Resets the content data pointers in the given document node and any dependents. This could also reset the data pointer in an associated data dictionary node and its client document nodes.
Since
6.0
Pre-condition
None
Post-condition
The data pointers in the specified document node and dependents have been set to the new data

Parameters

CDocumentNode * aDocumentNodeThe pointer to the document root node
TAny * aDataPtrThe pointer to the new data content

WmlLibL(CXmlElement *)

CWmlLibrary *WmlLibL(CXmlElement *aDocRootNode)[pure virtual]
Intended Usage : Provide a CWmlLibrary object. This object is ready to process data and build a document tree to the given root node.
Since
6.0
CAUTION:

The CWmlLibrary object is owned by the WAP Engine.

Parameters

CXmlElement * aDocRootNodeA pointer to the root node where the document tree is to be built.