OSXMLNamespaceClass Class Reference

This class is used to hold an XML namespace prefix to URI mapping. More...

#include <rtXmlCppNamespace.h>

List of all members.

Public Member Functions

 OSXMLNamespaceClass ()
 The default constructor sets the namespace prefix and URI values to empty values.
 ~OSXMLNamespaceClass ()
 The destructor deletes the prefix and uri string variables.
 OSXMLNamespaceClass (const OSUTF8CHAR *nsPrefix, const OSUTF8CHAR *nsURI)
 The parameterized constructor sets the namespace prefix and URI values to the given values.
 OSXMLNamespaceClass (const OSUTF8CHAR *nsPrefix, size_t nsPrefixBytes, const OSUTF8CHAR *nsURI, size_t nsURIBytes)
 The parameterized constructor sets the namespace prefix and URI values to the given values.
 OSXMLNamespaceClass (const OSXMLNamespaceClass &o)
 The copy constructor make a deep-copy of the prefix and URI values.
const OSUTF8CHAR * getPrefix () const
 This method is used to get the namespace prefix value.
const OSUTF8CHAR * getURI () const
 This method is used to get the namespace URI value.
void setPrefix (const OSUTF8CHAR *nsPrefix)
 This method is used to set the namespace prefix value.
void setURI (const OSUTF8CHAR *nsURI)
 This method is used to set the namespace URI value.

Detailed Description

This class is used to hold an XML namespace prefix to URI mapping.

Definition at line 38 of file rtXmlCppNamespace.h.


Constructor & Destructor Documentation

OSXMLNamespaceClass::OSXMLNamespaceClass ( const OSUTF8CHAR *  nsPrefix,
const OSUTF8CHAR *  nsURI 
)

The parameterized constructor sets the namespace prefix and URI values to the given values.

A deep copy of the values is done.

Parameters:
nsPrefix Namespace prefix value.
nsURI Namespace URI value.
OSXMLNamespaceClass::OSXMLNamespaceClass ( const OSUTF8CHAR *  nsPrefix,
size_t  nsPrefixBytes,
const OSUTF8CHAR *  nsURI,
size_t  nsURIBytes 
)

The parameterized constructor sets the namespace prefix and URI values to the given values.

A deep copy of the values is done.

Parameters:
nsPrefix Namespace prefix value.
nsPrefixBytes Namespace prefix value size in bytes.
nsURI Namespace URI value.
nsURIBytes Namespace URI value size in bytes.

The documentation for this class was generated from the following file: