MSimpleDocument Class Reference

class MSimpleDocument : public MSimpleElement

MSimpleDocument

SIMPLE data document

simplexmlutils
Since
S60 3.2

Inherits from

Member Functions Documentation

AddDirectContentL(MSimpleContent &, TBool)

voidAddDirectContentL(MSimpleContent &aContent,
TBoolaCopyContent
)[pure virtual]

Add content

Parameters

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

AddNamespaceL(const TDesC8 &, const TDesC8 &)

voidAddNamespaceL(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 &)

voidExternalizeL(RWriteStream &aStream)[pure virtual]

Externalize the document into write stream.

Since
S60 3.2

Parameters

RWriteStream & aStreamwrite stream

GetDirectContentsL(RPointerArray< MSimpleContent > &)

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

Get direct contents

Parameters

RPointerArray< MSimpleContent > & aContentsarray 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 &)

voidSetEntityURIL(const TDesC8 &aValue)[pure virtual]

Entity's URI setter.

Since
S60 3.2

Parameters

const TDesC8 & aValueentity URI