MWapPluginSP Class Reference

#include <mw/mwappluginsp.h>

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

Detailed Description

Deprecated

Member Function Documentation

AttributeLUT ( )

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

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
aDocumentNodeThe pointer to a document node
Return Value
A pointer to node that actual holds the data.

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. TodoAdd the pre and post conditions.
Since
6.0
Pre-condition
None
Post-condition
Unspecified
Parameters
aDocTypeThe specified DTD type
aDTDURLThe URL of the DTD to be fetched
aDocRootNodeThe root node of the document to be validated
Return Value
A pointer to the DTD if the specified DTD is available, otherwise NULL.

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
aDocumentNodeThe pointer to the document root node
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
aDocRootNodeA pointer to the root node where the document tree is to be built.
Return Value
A pointer the CWmlLibrary object.