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 voidClose()
IMPORT_C RTagInfoCopy()
IMPORT_C const RString &LocalName()
IMPORT_C voidOpen(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_CRTagInfo()

Default constructor

Only Parsers have this access. CParser

Member Functions Documentation

Close()

IMPORT_C voidClose()

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 RTagInfoCopy()

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 voidOpen(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 & aUrithe uri of the object.
const RString & aPrefixthe prefix of the object.
const RString & aLocalNamethe 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.