Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNo next file
XML Streams Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWXmlStreamElement

Module:  XML Streams   Package:  XML Streams


Does not inherit

Local Index

Members

Header File

#include <rw/xmlstreams/RWXmlStreamElement.h>

Description

An XML element abstraction for implementing efficient C++ based transformations.

Public Typedef

typedef char
element_type;

Protected Constructors

RWXmlStreamElement(const std::list<std::pair<RWCString,
RWXmlNamespace> >& namespaces);
RWXmlStreamElement(const RWXmlNmae& name, 
const RWCString value,
const std::list<std::pair<RWCString,
RWXmlNamespace>>& namespaces);
RWXmlStreamElement(const RWXmlNmae& name, 
const RWXmlStreamElement& element
const std::list<std::pair<RWCString,
RWXmlNamespace>>& namespaces);
RWXmlStreamElement(const RWXmlStreamElement& element);

Public Member Functions

void
addAttribute(const RWXmlAttribute& attribute);
void
addElement(const RWXmlStreamElement& element);
void
addNamespace(const RWCString& prefix, 
const RWXmlNamespace& fullname);
void
deleteAttribute(const RWXmlName& name);
void
deleteElement(const RWXmlName& name);
bool
deleteNamespace(const RWCString& prefix);
RWCString
findAttribute(const RWXmlName& name) const;
const RWXmlStreamElement
findElement(const RWXmlName& name) const;
const RWXmlNamespace
findNamespaceURI(const RWCString& prefix) const;
const RWXmlStreamElement
findNextElement(const RWXmlName& name,
std::list<RWXmlStreamElement*>::const_interator start) const;
const RWXmlAttributeSet&
getAttributes() const;
const std::list<RWXmlStreamElement*>&
getElements() const;
RWXmlName
getName() const;
const std::list<std::pair<RWCString,RWXmlNamespace>>&
getNamespaces() const;
void
getValue() const;
void
resolveNamespaces();
void
setName(const RWXmlName& name);
void
setValue(const RWCSting& value);
void
setValue(const RWXmlStreamElement& element);


Previous fileTop of DocumentContentsIndex pageNo next file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, 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.