Unicorn XML Toolkit
Version 1.50.00

Namespace Dom
Class IAttr

class IAttr: public INode {
public:
    const WCHAR *GetName();
    bool IsSpecified();
    const WCHAR *GetValue();
    void SetValue(const WCHAR *pszValue);
    };
typedef XRefCnt<IAttr> XAttr;

The attribute node.

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

Since:
1.00.00
Version:
1.50.00
Author:
Alexey Gokhberg
Function Summary
const�WCHAR�* GetName ();
����������Returns the name of this attribute.
bool IsSpecified ();
����������Tests whether this attribute was explicitly specified on its owner element in the XML source.
const�WCHAR�* GetValue ();
����������Returns the value of this attribute.
void SetValue (const WCHAR *pszValue);
����������Assigns the new value to this attribute.

Function Detail

GetName

const WCHAR *GetName();

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

bool IsSpecified();

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.

At present this method is not implemented for any document model.

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

GetValue

const WCHAR *GetValue();

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

void SetValue(const WCHAR *pszValue);

Assigns the new value to this attribute.

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

This method is not supported by XDM.

Parameters:
pszValue - the new value

Unicorn XML Toolkit
Version 1.50.00


This document was created using Unicorn DOC++.

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