Module: XML Streams Package: XML Streams
Base Class
#include <rw/xmlstreams/RWXmlObjectStreamCommon.h>
Base class shared by XML object input and output streams. This class defines the tags and attribute names used in the XML.
static const char* objectTag; static const char* objectRefTag; static const char* nestedObjectTag; static const char* memberTag; static const char* primitiveTag; static const char* sequenceTag; static const char* sequenceElementTag; static const char* mapTag; static const char* associationTag; static const char* assocKeyTag; static const char* assocValueTag; static const char* IdAttr; static const char* IdRefAttr; static const char* memberNameAttr; static const char* memberTypeAttr; static const char* objectNameAttr; static const char* objectTypeAttr; static const char* seqCountAttr; static const char* seqTypeAttr; static const char* elementPosAttr; static const char* mapCountAttr; static const char* mapKeyTypeAttr; static const char* mapValueTypeAttr; static const char* xsiNamespace; static const char* xsiNamespaceAttr; static const char* xsiNamespaceValue; static const char* rwNamespace; static const char* rwNamespaceAttr; static const char* rwNamespaceValue; static const char* rwEncodingNamespaceValue;
Represent the element and attribute names used in the generated XML object stream.
The two static functions described below are not usually accessed directly. Rather, they are used by other classes in the streams architecture.
static const char * rwStreamToStringType(RWStreamType stype);
Converts an RWStreamType enum value into a string representing an XML qualified element name. For example, passing the enum value RW_NESTED_OBJECT results in a return value of rw:nested_object.
static const char * rwStreamToLocalStringType(RWStreamType stype);
Converts an RWStreamType enum value into a string representing an XML non-qualified (local) element name. For example, passing the enum value RW_NESTED_OBJECT results in a return value of nested_object.
© 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.