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 Methods

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

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

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

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


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 )
 

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


The documentation for this class was generated from the following file:
Generated at Mon Nov 5 19:22:25 2001 for Simkin by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000