MWapPluginSP Class Reference
#include
<mw/mwappluginsp.h>
Member Function Documentation
AttributeLUT ( )
Intended Usage : Gets the Attribute Look Up Table.
- Since
- 6.0
Returns: 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
Parameter | Description | aDocumentNode | The pointer to a document node |
Returns: 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.
- Since
- 6.0
TodoAdd the pre and post conditions.
- Pre-condition
- None
- Post-condition
- Unspecified
Parameter | Description | aDocType | The specified DTD type |
aDTDURL | The URL of the DTD to be fetched |
aDocRootNode | The root node of the document to be validated |
Returns: A pointer to the DTD if the specified DTD is available, otherwise NULL.
ResetDocumentNodeData ( CDocumentNode *, TAny * )
void | ResetDocumentNodeData | ( | 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
Parameter | Description | aDocumentNode | The pointer to the document root node |
aDataPtr | The pointer to the new data content |
WmlLibL ( CXmlElement * )
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.
Parameter | Description | aDocRootNode | A pointer to the root node where the document tree is to be built. |
Returns: A pointer the CWmlLibrary object.