Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <attribute.h>
Link against: xmlframework.lib

Class Xml::RAttribute

class RAttribute;

Description

The Xml::RAttribute class holds an attribute's description belonging to an element.

Members

Defined in Xml::RAttribute:

See also:


Member functions


Attribute()const

IMPORT_C const RTagInfo& Attribute() const;

Pre-Condition

The objects members have been pre-set accordingly.

Description

This method returns a handle to the attribute's name details.

Return value

const Xml::RTagInfo &

The attribute's name details.


Value()const

IMPORT_C const RString& Value() const;

Pre-Condition

The objects members have been pre-set accordingly.

Description

This method returns a handle to the attribute value. If the attribute value is a list of tokens (IDREFS, ENTITIES or NMTOKENS), the tokens will be concatenated into a single RString with each token separated by a single space.

Return value

const RString &

A handle to the attribute value.


Type()const

IMPORT_C TAttributeType Type() const;

Pre-Condition

The objects members have been pre-set accordingly.

Description

This method returns the attribute's type.

Return value

Xml::TAttributeType

The attribute's type.