TXmlEngCharacterData Class Reference

class TXmlEngCharacterData : public TXmlEngNode

This class represents XML text nodes in the DOM tree. Inherited classes further specialize (e.g. TXmlEngTextNode, TXmlEngComment).

The CharacterData Interface is described by the DOM Spec here: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-FF21A306

Inherits from

Public Member Functions
IMPORT_C voidAppendContentsL(const TDesC8 &)
IMPORT_C TPtrC8Contents()
IMPORT_C TUintLength()
IMPORT_C voidSetContentsL(const TDesC8 &)
Protected Member Functions
TXmlEngCharacterData()
TXmlEngCharacterData(void *)
Inherited Functions
TXmlEngNode::AddUserData(MXmlEngUserData *)
TXmlEngNode::AppendChildL(TXmlEngNode)
TXmlEngNode::AsAttr()const
TXmlEngNode::AsBinaryContainer()const
TXmlEngNode::AsCDATASection()const
TXmlEngNode::AsChunkContainer()const
TXmlEngNode::AsComment()const
TXmlEngNode::AsDataContainer()const
TXmlEngNode::AsDocumentFragment()const
TXmlEngNode::AsElement()const
TXmlEngNode::AsEntityReference()const
TXmlEngNode::AsFileContainer()const
TXmlEngNode::AsNamespace()const
TXmlEngNode::AsProcessingInstruction()const
TXmlEngNode::AsText()const
TXmlEngNode::BaseUriL(RBuf8 &)const
TXmlEngNode::CopyL()const
TXmlEngNode::CopyToL(TXmlEngNode)const
TXmlEngNode::DoUnlinkNode()
TXmlEngNode::FirstChild()const
TXmlEngNode::GetChildNodes(RXmlEngNodeList< TXmlEngNode > &)const
TXmlEngNode::HasAttributes()const
TXmlEngNode::HasChildNodes()const
TXmlEngNode::InnerXmlL(RBuf8 &)
TXmlEngNode::IsDefaultNamespaceL(const TDesC8 &)const
TXmlEngNode::IsNull()const
TXmlEngNode::IsSameNode(TXmlEngNode)const
TXmlEngNode::IsSimpleTextContents()const
TXmlEngNode::LastChild()const
TXmlEngNode::LinkBefore(TXmlEngNode)
TXmlEngNode::LookupNamespaceUriL(const TDesC8 &)const
TXmlEngNode::LookupPrefixL(const TDesC8 &)const
TXmlEngNode::MoveAfterSibling(TXmlEngNode)
TXmlEngNode::MoveBeforeSibling(TXmlEngNode)
TXmlEngNode::MoveTo(TXmlEngNode)
TXmlEngNode::MoveToL(TXmlEngNode)
TXmlEngNode::Name()const
TXmlEngNode::NamespaceDeclaration()const
TXmlEngNode::NamespaceUri()const
TXmlEngNode::NextSibling()const
TXmlEngNode::NodeType()const
TXmlEngNode::NotNull()const
TXmlEngNode::OuterXmlL(RBuf8 &)
TXmlEngNode::OwnerDocument()const
TXmlEngNode::ParentNode()const
TXmlEngNode::Prefix()const
TXmlEngNode::PreviousSibling()const
TXmlEngNode::ReconcileNamespacesL()
TXmlEngNode::Remove()
TXmlEngNode::RemoveUserData()
TXmlEngNode::ReplaceWith(TXmlEngNode)
TXmlEngNode::ReplaceWithL(TXmlEngNode)
TXmlEngNode::SetAsFirstSibling()
TXmlEngNode::SetAsLastSibling()
TXmlEngNode::SetValueL(const TDesC8 &)
TXmlEngNode::SubstituteForL(TXmlEngNode)
TXmlEngNode::TXmlEngNode()
TXmlEngNode::TXmlEngNode(void *)
TXmlEngNode::Unlink()
TXmlEngNode::UserData()const
TXmlEngNode::Value()const
TXmlEngNode::WholeTextContentsCopyL(RBuf8 &)const
Inherited Enumerations
TXmlEngNode:TXmlEngDOMNodeType
Inherited Attributes
TXmlEngNode::iInternal

Constructor & Destructor Documentation

TXmlEngCharacterData()

TXmlEngCharacterData()[protected, inline]

Default constructor

TXmlEngCharacterData(void *)

TXmlEngCharacterData(void *aInternal)[protected, inline]

Constructor

Parameters

void * aInternalnode pointer

Member Functions Documentation

AppendContentsL(const TDesC8 &)

IMPORT_C voidAppendContentsL(const TDesC8 &aString)

Append to the contents of the node leave

KXmlEngErrNullNode Node is NULL

leave

  • One of the system-wide error codes

Parameters

const TDesC8 & aStringContent to be appended

Contents()

IMPORT_C TPtrC8Contents()const

Get contents of the node. The content of the node

Length()

IMPORT_C TUintLength()const

Get length of the content. Number of characters in the contents

SetContentsL(const TDesC8 &)

IMPORT_C voidSetContentsL(const TDesC8 &aNewContents)

Sets contents of the node.

The input is taken as non-escaped: for example, aNewContents = "123 > 34 && P" will be serialized as "123 &gt; 34 &amp;&amp; P"

leave

  • One of the system-wide error codes

Parameters

const TDesC8 & aNewContentsThe actual value to store