Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: mwappluginsp.h

Class MWapPluginSP

class MWapPluginSP;

Description

Members

Defined in MWapPluginSP:
AttributeLUT(), DataStorageNode(), PrepareDTDL(), ResetDocumentNodeData(), WmlLibL()


Member functions


ResetDocumentNodeData()

virtual void ResetDocumentNodeData(CDocumentNode *aDocumentNode, TAny *aDataPtr) const=0;

Pre-Condition

None

Description

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.

Post-Condition

The data pointers in the specified document node and dependents have been set to the new data

Parameters

CDocumentNode *aDocumentNode

The pointer to the document root node

TAny *aDataPtr

The pointer to the new data content


DataStorageNode()

virtual CNode &DataStorageNode(const CDocumentNode *aDocumentNode) const=0;

Description

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.

Parameters

const CDocumentNode *aDocumentNode

The pointer to a document node

Return value

CNode &

A pointer to node that actual holds the data.


PrepareDTDL()

virtual const CDTDNode *PrepareDTDL(const TDesC &aDocType, const TDesC &aDTDURL, const CDocumentNode *aDocRootNode)=0;

Pre-Condition

None

Description

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.

Post-Condition

Unspecified

Parameters

const TDesC &aDocType

The specified DTD type

const TDesC &aDTDURL

The URL of the DTD to be fetched

const CDocumentNode *aDocRootNode

The root node of the document to be validated

Return value

const CDTDNode *

A pointer to the DTD if the specified DTD is available, otherwise NULL.


WmlLibL()

virtual CWmlLibrary *WmlLibL(CXmlElement *aDocRootNode)=0;

Description

Intended Usage : Provide a CWmlLibrary object. This object is ready to process data and build a document tree to the given root node.

Parameters

CXmlElement *aDocRootNode

A pointer to the root node where the document tree is to be built.

Return value

CWmlLibrary *

A pointer the CWmlLibrary object.


AttributeLUT()

virtual CAttributeLookupTable &AttributeLUT()=0;

Description

Intended Usage : Gets the Attribute Look Up Table.

Return value

CAttributeLookupTable &

A reference to the Attribute Look Up Table.