CXmlElementImpl Class Reference
class CXmlElementImpl : public CBase |
Constructor & Destructor Documentation
~CXmlElementImpl()
~CXmlElementImpl | ( | ) | [virtual] |
Need method description
- Since
- 1.0
- Since
- 1.0
- Since
- 1.0
Member Functions Documentation
AppendChildL(MXmlElement *, TBool)
Append child method for an XML element
Parameters
MXmlElement * aAppendChild | - The element object that needs to be appended |
TBool aIsJSR226Element = EFalse | |
CloneL(MXmlElement *)
A method that performs deep copy for this object
CopyL(CXmlElementImpl *)
Copy this object to an object that is already created and initialized
Parameters
CXmlElementImpl * aDestElement | - A CXmlElementImpl pointer to an object requiring the copy |
ElemID()
A method that return integer ID of the element
FirstChild()
Accessor method for 'first child' of an XML element
HasChildNodes()
TBool
| HasChildNodes | ( | ) | [virtual] |
'Has child nodes' method that finds out if the current element has any child nodes
InitializeL(const TUint8)
void | InitializeL | ( | const TUint8 | aElemID | ) | [protected, virtual] |
Initialize the state of XML element object
LastChild()
Accessor method for 'last child' of an XML element
NextSibling()
Accessor method for 'next sibling' of an XML element
OwnerDocument()
Accessor method for 'owner document' of an XML element
ParentNode()
Accessor method for 'parent node' of an XML element
RemoveAttribute(const TDesC &)
TInt
| RemoveAttribute | ( | const TDesC & | aName | ) | [virtual] |
Remove attribute for an XML element Actual specification requires the attribute node be removed Since this implementation does not create an attribute node, it just changes the state of the corresponding variable
Parameters
const TDesC & aName | - A string buffer containing the name of the attribute to be removed |
RemoveChild(MXmlElement *)
Remove child method for an XML element
Parameters
MXmlElement * aRemoveChild | - A pointer to the object that is to be removed |
SetAttributeL(const TDesC &, const TDesC &)
Set the attribute value for a given attribute name of the current XML element Actual specification requires a new node object be created for the new attribute This implementation just sets a variable in the element class instance
Parameters
const TDesC & aName | - A string buffer containig the name of the attribute to be set |
const TDesC & aValue | - A string buffer containig the value of the attribute to be set |
SetFirstChild(MXmlElement *)
Accessor to set first child of an XML element
SetLastChild(MXmlElement *)
Accessor to set last child of an XML element
SetNextSibling(MXmlElement *)
Accessor to set next sibling of an XML element
SetOwnerDocument(MXmlDocument *)
Accessor to set owner document of an XML element
SetParentNode(MXmlElement *)
Accessor to set parent node of an XML element
TagName()
const TDesC & | TagName | ( | ) | [virtual] |
Accessor for the tag name of an XML element
Member Data Documentation
MXmlElement * iFirstChild
MXmlElement * iNextSibling
MXmlDocument * iOwnerDocument
MXmlElement * iParentNode
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.