Unicorn XML Toolkit
Version 1.00.00

Namespace Dom
Class IAttr

class IAttr: virtual public INode {
public:
    IAttr();
    virtual ~IAttr();
public:
    virtual CString GetName() = 0;
    virtual bool IsSpecified() = 0;
    virtual CString GetValue() = 0;
    virtual void SetValue(const CString &strValue) = 0;
    };

The attribute node.

This class implements the C++ binding for the Attr interface specified by DOM.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
IAttr ();
����������Constructs the attribute.
~IAttr ();
����������Destroys the attribute.

Function Summary
CString GetName ();
����������Returns the name of this attribute.
bool IsSpecified ();
����������Tests whether this attribute was explicitly specified on its owner element in the XML source.
CString GetValue ();
����������Returns the value of this attribute.
void SetValue (const CString &strValue);
����������Assigns the new value to this attribute.

Constructor/Destructor Detail

IAttr

IAttr();

Constructs the attribute.

~IAttr

virtual ~IAttr();

Destroys the attribute.

Function Detail

GetName

virtual CString GetName() = 0;

Returns the name of this attribute.

This method implements the C++ binding for the name attribute specified by DOM.

Returns:
the name of this attribute

IsSpecified

virtual bool IsSpecified() = 0;

Tests whether this attribute was explicitly specified on its owner element in the XML source.

This method implements the C++ binding for the specified attribute specified by DOM.

Returns:
true if this attribute was explicitly specified on its owner element in the XML source; false otherwise

GetValue

virtual CString GetValue() = 0;

Returns the value of this attribute.

This method implements the C++ binding for the value attribute specified by DOM.

Returns:
the value of this attribute

SetValue

virtual void SetValue(const CString &strValue) = 0;

Assigns the new value to this attribute.

This method implements the C++ binding for the value attribute specified by DOM.

Parameters:
strValue - the new value

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.