#include <xml/dom/xmlengcharacterdata.h>
Link against: xmlenginedom.lib
class TXmlEngCharacterData : public TXmlEngNode |
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 Attributes | |
---|---|
TXmlEngNode::iInternal |
Inherited Enumerations | |
---|---|
TXmlEngNode:TXmlEngDOMNodeType |
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
TXmlEngCharacterData | ( | void * | aInternal | ) | [protected, inline] |
Constructor
Parameters | |
---|---|
aInternal | node pointer |
IMPORT_C void | AppendContentsL | ( | const TDesC8 & | aString | ) |
Parameters | |
---|---|
aString | Content to be appended |
Leave Codes | |
---|---|
KXmlEngErrNullNode | Node is NULL |
IMPORT_C TUint | Length | ( | ) | const |
Get length of the content.
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"
Parameters | |
---|---|
aNewContents | The actual value to store |
Leave Codes | |
---|---|