Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlAttribute

Group:  Core XML


Does not inherit

Local Index

Members

Header File

#include rwsf/core/XmlAttribute.h

Description

rwsf::XmlAttribute represents an attribute of an XML element. Each attribute consists of an attribute name represented by an rwsf::XmlName and a value string. For example, the element

contains an attribute with the name SOAP-ENV:mustUnderstand and the value string "1". Although in this case the URI component of the attribute name does not appear in the element, the rwsf::XmlName object representing this attribute name contains a URI for the SOAP-ENV prefix.

Public Typedefs

rwsf::XmlName AttributeName;

Public Constructors

XmlAttribute();
XmlAttribute(const rwsf::XmlName & name,
    const std::string & value);
XmlAttribute(const std::string & name,
    const std::string & value,
    const rwsf::XmlNamespace & ns = rwsf::XmlNamespace::getEmptyNamespace());
XmlAttribute(const XmlAttribute & a);

Public Destructors

~XmlAttribute();

Public Member Functions

rwsf::XmlName &
getName();
const rwsf::XmlName &
getName() const;
const std::string &
getValue() const;
void
setName(const rwsf::XmlName & name);
void
setValue(const std::string & value);

Public Operators

XmlAttribute &
operator=(const XmlAttribute & rhs);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.