Link against: xmlengineDOM.lib
#include <xmlengattr.h>
Inherits TXmlEngNode.
Is a storage attributes properties. Implements DOM action for it.
Public Member Functions | |
TXmlEngAttr () | |
Default constructor. | |
IMPORT_C TXmlEngAttr | CopyL () const |
Clones attribute node. | |
IMPORT_C const TXmlEngElement | OwnerElement () const |
Get owner element. | |
IMPORT_C TPtrC8 | Name () const |
Check attribute name. | |
IMPORT_C TPtrC8 | Value () const |
Get element value. | |
IMPORT_C void | WholeValueCopyL (RBuf8 &aBuffer) const |
Get copy of attribute content. | |
IMPORT_C void | SetValueL (const TDesC8 &aNewValue) |
Sets new value of the attribute. | |
IMPORT_C void | SetEscapedValueL (const TDesC8 &aNewValue) |
Sets new value from escaped XML character data that may contain entity references. | |
IMPORT_C void | SetValueNoEncL (const TDesC8 &aNewValue) |
Sets new attribute value exactly as presented in the string. | |
Protected Member Functions | |
TXmlEngAttr (void *aInternal) | |
Constructor. |
|
Default constructor.
|
|
Constructor.
|
|
Clones attribute node.
Reimplemented from TXmlEngNode. |
|
Check attribute name.
Reimplemented from TXmlEngNode. |
|
Get owner element.
|
|
Sets new value from escaped XML character data that may contain entity references. The value as if it is an escaped contents from XML file. If the value contains entity references, then the resulting content of the attribute is a list of TXmlEngTextNode and TXmlEngEntityRefeerence nodes. Predefined entities are converted into characters they represent.
|
|
Sets new value of the attribute. Provided new value will be escaped as needed. @ since S60 v3.1
Reimplemented from TXmlEngNode. |
|
Sets new attribute value exactly as presented in the string. Predefined entities are not converted into characters they represent.
|
|
Get element value.
Reimplemented from TXmlEngNode. |
|
Get copy of attribute content.
BE SURE TO FREE THE RESULT STRING!!! Example usage of the API: RBuf8 value; attr.WholeValueCopyL(value); ... value.Close();
|