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
Public Member Functions | |
---|---|
IMPORT_C void | AppendContentsL(const TDesC8 &) |
IMPORT_C TPtrC8 | Contents() |
IMPORT_C TUint | Length() |
IMPORT_C void | SetContentsL(const TDesC8 &) |
Protected Member Functions | |
---|---|
TXmlEngCharacterData() | |
TXmlEngCharacterData(void *) |
Inherited Enumerations | |
---|---|
TXmlEngNode:TXmlEngDOMNodeType |
Inherited Attributes | |
---|---|
TXmlEngNode::iInternal |
TXmlEngCharacterData | ( | void * | aInternal | ) | [protected, inline] |
Constructor
void * aInternal | node pointer |
IMPORT_C void | AppendContentsL | ( | const TDesC8 & | aString | ) |
Append to the contents of the node leave
KXmlEngErrNullNode Node is NULL
leave
One of the system-wide error codes
const TDesC8 & aString | Content to be appended |
IMPORT_C TUint | Length | ( | ) | const |
Get length of the content. Number of characters in the contents
IMPORT_C void | SetContentsL | ( | 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 > 34 && P"
leave
One of the system-wide error codes
const TDesC8 & aNewContents | The actual value to store |