Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Default implementation of XML attributes. More...
#include <ilog/xml.h>
Public Member Functions | |
virtual | ~IlXmlAttribute () |
Destructor. More... | |
virtual const char * | getName () const |
Gets the name of this attribute. More... | |
virtual const char * | getValue () const |
Gets the value of this attribute. More... | |
virtual void | storeName (char *) |
Stores the name of this attribute. More... | |
virtual void | storeValue (char *name) |
Stores the value of this attribute. More... | |
Public Member Functions inherited from IlXmlAttributeI | |
virtual | ~IlXmlAttributeI () |
Destructor. More... | |
virtual Type | getType () const |
Retrieves the type of this element. More... | |
virtual void | setName (const char *name) |
Sets the name of this attribute. More... | |
virtual void | setValue (const char *value) |
Sets the value of this attribute. More... | |
virtual std::ostream & | write (std::ostream &stream) const |
Writes the XML code for this attribute. More... | |
Additional Inherited Members | |
Public Types inherited from IlXmlNodeI | |
enum | Type { Attribute, Element, Text, Comment, CData, PI, CharRef, EntityRef } |
The different types of XML nodes. More... | |
Default implementation of XML attributes.
Library: ilog
This class defines a default implementation of XML attribute objects. It is provided for convenience, so that you can manipulate XML attributes without having to create a subclass from IlXmlAttributeI
. This class actually stores the key-pair values as strings.
|
virtual |
Destructor.
The destructor deletes the strings that contain the attribute name and its value.
|
virtual |
Gets the name of this attribute.
Implements IlXmlAttributeI.
|
virtual |
Gets the value of this attribute.
You must provide an implementation of getValue()
if you create a subclass of IlXmlAttributeI
.
Implements IlXmlAttributeI.
|
virtual |
Stores the name of this attribute.
You must provide an implementation of storeName()
if you create a subclass of IlXmlAttributeI
.
name | The new name of this attribute. The string is directly stored in this object. No copy is performed. |
Implements IlXmlAttributeI.
|
virtual |
Stores the value of this attribute.
You must provide an implementation of storeValue
if you create a subclass of IlXmlAttributeI
.
value | The new value of this attribute. The string is directly stored in this object. No copy is performed. |
Implements IlXmlAttributeI.
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.