OSXMLMessageBuffer Class Reference
The XML message buffer class is derived from the OSMessageBuffer base class. More...
#include <rtXmlCppMsgBuf.h>
Inheritance diagram for OSXMLMessageBuffer:

Public Member Functions | |
| virtual void * | getAppInfo () |
| The getAppInfo method returns the pointer to application context information. | |
| int | getIndent () |
| This method returns current XML output indent value. | |
| int | getIndentChar () |
| This method returns current XML output indent character value (default is space). | |
| virtual void | setNamespace (const OSUTF8CHAR *prefix, const OSUTF8CHAR *uri) |
| This method sets a namespace in the context namespace list. | |
| virtual void | setAppInfo (void *pXMLInfo) |
| This method sets application specific context information within the common context structure. | |
| void | setFormatting (OSBOOL doFormatting) |
| This method sets XML output formatting to the given value. | |
| void | setIndent (OSUINT8 indent) |
| This method sets XML output indent to the given value. | |
| void | setIndentChar (char indentChar) |
| This method sets XML output indent character to the given value. | |
Protected Member Functions | |
| OSXMLMessageBuffer (Type bufferType, OSRTContext *pContext=0) | |
| The protected constructor creates a new context and sets the buffer class type. | |
Detailed Description
The XML message buffer class is derived from the OSMessageBuffer base class.It is the base class for the OSXMLEncodeBuffer and OSXMLDecodeBuffer classes. It contains variables and methods specific to encoding or decoding XML messages. It is used to manage the buffer into which a message is to be encoded or decoded.
Definition at line 44 of file rtXmlCppMsgBuf.h.
Constructor & Destructor Documentation
|
||||||||||||
|
The protected constructor creates a new context and sets the buffer class type.
|
Member Function Documentation
|
|
This method returns current XML output indent value.
|
|
|
This method returns current XML output indent character value (default is space).
|
|
|
This method sets application specific context information within the common context structure. For XML encoding/decoding, this is a structure of type OSXMLCtxtInfo.
|
|
|
This method sets XML output formatting to the given value. If TRUE (the default), the XML document is formatted with indentation and newlines. If FALSE, all whitespace between elements is suppressed. Turning formatting off can provide more compressed documents and also a more canonical representation which is important for security applications.
|
|
|
This method sets XML output indent to the given value.
|
|
|
This method sets XML output indent character to the given value.
|
|
||||||||||||
|
This method sets a namespace in the context namespace list. If the given namespace URI does not exist in the list, the namespace is added. If the URI is found, the value of the namespace prefix will be changed to the given prefix.
|
The documentation for this class was generated from the following file:
