Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skAttribute Class Reference

This class represents an attribute of an element in an XML document. More...

#include <skAttribute.h>

List of all members.

Public Member Functions

 skAttribute (const skString &name, const skString &value)
 Constructs a new attribute with the given name and value.

skString getName () const
 this returns the name of the attribute

skString getValue () const
 this returns the value of the attribute

void setValue (const skString &name)
 this method sets the value of the attribute

skString toString () const
 This method returns a string representation of the attribute, in the form ="".

void write (skOutputDestination &out)
 This method writes the arribute out to the given destination, in the form ="".


Detailed Description

This class represents an attribute of an element in an XML document.

The class forms part of the Simkin DOM class library.


Constructor & Destructor Documentation

skAttribute::skAttribute const skString name,
const skString value
[inline]
 

Constructs a new attribute with the given name and value.

Parameters:
name - the name of the attribute
value - the value of the attribute


Member Function Documentation

skString skAttribute::getName  )  const [inline]
 

this returns the name of the attribute

Returns:
the name of the attribute

skString skAttribute::getValue  )  const [inline]
 

this returns the value of the attribute

Returns:
the value of the attribute

skString skAttribute::toString  )  const
 

This method returns a string representation of the attribute, in the form ="".

Exceptions:
Symbian - a leaving function

void skAttribute::write skOutputDestination out  ) 
 

This method writes the arribute out to the given destination, in the form ="".

Exceptions:
Symbian - a leaving function


The documentation for this class was generated from the following files:
Generated on Fri Dec 17 20:27:34 2004 for Simkin by doxygen1.3