Xml::RTagInfo Class Reference

#include <xml/taginfo.h>

class Xml::RTagInfo
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()

Detailed Description

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

See also: MContentHandler RAttribute

Constructor & Destructor Documentation

RTagInfo ( )

IMPORT_CRTagInfo()

Default constructor

Only Parsers have this access.

See also: CParser

Member Function 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.

See also: CParser

Copy ( )

IMPORT_C RTagInfoCopy()

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

Only Parsers have this access.

See also: CParser

LocalName ( )

IMPORT_C const RString &LocalName()const

This method obtains the LocalName member of this object.

Return Value
the LocalName member.

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.

See also: CParser

Parameters
aUrithe uri of the object.
aPrefixthe prefix of the object.
aLocalNamethe localName of the object.

Prefix ( )

IMPORT_C const RString &Prefix()const

This method obtains the Prefix member of this object.

Return Value
the Prefix member.

Uri ( )

IMPORT_C const RString &Uri()const

This method obtains the uri member of this object.

Return Value
the uri member.