Xml::RTagInfo Class Reference

class Xml::RTagInfo

The RTagInfo class holds information that describes an element or attribute. MContentHandler RAttribute

Public Member Functions
RTagInfo ()
IMPORT_C void Close ()
IMPORT_C RTagInfo Copy ()
IMPORT_C const RString & LocalName ()
IMPORT_C void Open (const RString &, const RString &, const RString &)
IMPORT_C const RString & Prefix ()
IMPORT_C const RString & Uri ()
Private Attributes
RString iLocalName
RString iPrefix
RString iUri

Constructor & Destructor Documentation

RTagInfo()

IMPORT_C RTagInfo ( )

Default constructor

Only Parsers have this access. CParser

Member Functions Documentation

Close()

IMPORT_C void Close ( )

This method cleans up the object before destruction. It releases all resources in accordance to the R Class pattern.

Post-condition
This object may be allowed to go out of scope.
Only Parsers have this access. CParser

Copy()

IMPORT_C RTagInfo Copy ( )

Copy method. The original and copy must be closed seperately.

Only Parsers have this access. CParser

LocalName()

IMPORT_C const RString & LocalName ( ) const

This method obtains the LocalName member of this object.

Open(const RString &, const RString &, const RString &)

IMPORT_C void Open ( const RString & aUri,
const RString & aPrefix,
const RString & aLocalName
)

This method sets the object's contents, taking ownership of the RStrings.

Post-condition
The objects members have been set to the values given.
Only Parsers have this access. CParser

Parameters

const RString & aUri the uri of the object.
const RString & aPrefix the prefix of the object.
const RString & aLocalName the localName of the object.

Prefix()

IMPORT_C const RString & Prefix ( ) const

This method obtains the Prefix member of this object.

Uri()

IMPORT_C const RString & Uri ( ) const

This method obtains the uri member of this object.

Member Data Documentation

RString iLocalName

RString iLocalName [private]

Holds the local name of the object it represents.

RString iPrefix

RString iPrefix [private]

Holds the namespace prefix of the object it represents.

RString iUri

RString iUri [private]

Holds the namespace uri of the object it represents.