MXmlElement Class Reference

class MXmlElement

Class description

Member Functions Documentation

AppendChildL(MXmlElement *, TBool)

MXmlElement *AppendChildL(MXmlElement *aAppendChild,
TBoolaIsJSR226Element = EFalse
)[pure virtual]

Append child interface for an XML element

Since
1.0

Parameters

MXmlElement * aAppendChild- The element object that needs to be appended
TBool aIsJSR226Element = EFalse

CloneL(MXmlElement *)

MXmlElement *CloneL(MXmlElement *aParentElement)[pure virtual]

A method to (deep) clone the current element

Since
1.0

Parameters

MXmlElement * aParentElement

FirstChild()

MXmlElement *FirstChild()[pure virtual]

Accessor interface for 'first child' of an XML element

Since
1.0

HasChildNodes()

TBool HasChildNodes()[pure virtual]

'Has child nodes' interface that finds out if the current element has any child nodes

Since
1.0

LastChild()

MXmlElement *LastChild()[pure virtual]

Accessor interface for 'last child' of an XML element

Since
1.0

NextSibling()

MXmlElement *NextSibling()[pure virtual]

Accessor interface for 'next sibling' of an XML element

Since
1.0

OwnerDocument()

MXmlDocument *OwnerDocument()[pure virtual]

Accessor interface for 'owner document' of an XML element

Since
1.0

ParentNode()

MXmlElement *ParentNode()[pure virtual]

Accessor interface for 'parent node' of an XML element

Since
1.0

RemoveAttribute(const TDesC &)

TInt RemoveAttribute(const TDesC &aName)[pure virtual]

Remove attribute interface for an XML element

Since
1.0

Parameters

const TDesC & aName- A string buffer containing the name of the attribute to be removed

RemoveChild(MXmlElement *)

voidRemoveChild(MXmlElement *aRemoveChild)[pure virtual]

Remove child interface for an XML element

Since
1.0

Parameters

MXmlElement * aRemoveChild- A pointer to the object that is to be removed

SetAttributeL(const TDesC &, const TDesC &)

TInt SetAttributeL(const TDesC &aName,
const TDesC &aValue
)[pure virtual]

Set attribute interface for an XML element

Since
1.0

Parameters

const TDesC & aName- A string buffer containing the name of the attribute
const TDesC & aValue- A string buffer containing the value of the attribute

SetFirstChild(MXmlElement *)

voidSetFirstChild(MXmlElement *)[pure virtual]

Accessor to set first child of an XML element

Since
1.0

Parameters

MXmlElement *

SetLastChild(MXmlElement *)

voidSetLastChild(MXmlElement *)[pure virtual]

Accessor to set last child of an XML element

Since
1.0

Parameters

MXmlElement *

SetNextSibling(MXmlElement *)

voidSetNextSibling(MXmlElement *)[pure virtual]

Accessor to set next sibling of an XML element

Since
1.0

Parameters

MXmlElement *

SetOwnerDocument(MXmlDocument *)

voidSetOwnerDocument(MXmlDocument *)[pure virtual]

Accessor to set owner document of an XML element

Since
1.0

Parameters

MXmlDocument *

SetParentNode(MXmlElement *)

voidSetParentNode(MXmlElement *)[pure virtual]

Accessor to set parent node of an XML element

Since
1.0

Parameters

MXmlElement *

TagName()

const TDesC &TagName()[pure virtual]

Accessor interface for the tag name of an XML element

Since
1.0