MSimpleDocument Class Reference

class MSimpleDocument : public MSimpleElement

MSimpleDocument

SIMPLE data document

simplexmlutils
Since
S60 3.2

Inherits from

Member Functions Documentation

AddDirectContentL(MSimpleContent &, TBool)

void AddDirectContentL ( MSimpleContent & aContent,
TBool aCopyContent
) [pure virtual]

Add content

Parameters

MSimpleContent & aContent content, the data content is copied into document
TBool aCopyContent ETrue if buffer of each content is copied or ownership is transferred just without copy.

AddNamespaceL(const TDesC8 &, const TDesC8 &)

void AddNamespaceL ( const TDesC8 & aPrefix,
const TDesC8 & aUri
) [pure virtual]

Add new newspace

Since
S60 3.2

Parameters

const TDesC8 & aPrefix
const TDesC8 & aUri

DefaultNamespace()

TPtrC8 DefaultNamespace ( ) [pure virtual]

Document's default namespace accessor. It is PIDF namespace.

Since
S60 3.2

EntityURI()

const TDesC8 * EntityURI ( ) [pure virtual]

Entity's URI getter. URI is specified in a factory method

Since
S60 3.2

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) [pure virtual]

Externalize the document into write stream.

Since
S60 3.2

Parameters

RWriteStream & aStream write stream

GetDirectContentsL(RPointerArray< MSimpleContent > &)

void GetDirectContentsL ( RPointerArray < MSimpleContent > & aContents ) [pure virtual]

Get direct contents

Parameters

RPointerArray < MSimpleContent > & aContents array of contents [out]. This is walid till the AddDirectContentL method.

NamespacesL()

RPointerArray < MSimpleNamespace > & NamespacesL ( ) [pure virtual]

Gets all namespaces of this element in an array.

Since
S60 3.2

SetEntityURIL(const TDesC8 &)

void SetEntityURIL ( const TDesC8 & aValue ) [pure virtual]

Entity's URI setter.

Since
S60 3.2

Parameters

const TDesC8 & aValue entity URI