|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
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.
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();
Constructs the attribute.
virtual ~IAttr();
Destroys the attribute.
Function Detail |
virtual CString GetName() = 0;
Returns the name of this attribute.
This method implements the C++ binding
for the
name
attribute specified by
DOM.
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.
true
if this attribute was explicitly specified
on its owner element in the XML source;
false
otherwisevirtual CString GetValue() = 0;
Returns the value of this attribute.
This method implements the C++ binding
for the
value
attribute specified by
DOM.
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.
strValue
- the new value
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |