Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Hydra Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlAttribute

Group:  XML Related

Local Index

Members

Non-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.

Related Classes

rwsf::XmlName, rwsf::XmlNamespace

Typedefs

typedef rwsf::XmlName AttributeName;

Public Constructors

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

Public Destructor

~XmlAttribute();

Public Member Operator

XmlAttribute&
operator=(const XmlAttribute& rhs);

Global Logical Operators

bool
operator==(const XmlAttribute& lhs, const XmlAttribute& rhs);
bool
operator!=(const XmlAttribute& lhs, const XmlAttribute& rhs);
bool
operator<(const XmlAttribute& lhs, const XmlAttribute& rhs);

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);


Previous fileTop of DocumentContentsIndex pageNext file

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