|
Public Member Functions |
| | OSXMLDecodeBuffer (const char *xmlFile) |
| | This version of the OSXMLDecodeBuffer constructor takes a name of a file that contains XML data to be decoded and constructs a buffer.
|
| | OSXMLDecodeBuffer (const OSOCTET *msgbuf, size_t bufsiz) |
| | This version of the OSXMLDecodeBuffer constructor takes parameters describing a message in memory to be decoded and constructs a buffer.
|
| | OSXMLDecodeBuffer (OSInputStream &inputStream) |
| | This version of the OSXMLDecodeBuffer constructor takes a reference to the OSInputStream object.
|
| int | decodeXML (OSXMLReader *pReader) |
| | This method decodes an XML message associated with this buffer.
|
| const char * | getXmlFileName () |
| | This method returns the name of the XML file that is associated with the current buffer.
|
|
virtual OSBOOL | isA (Type bufferType) |
Protected Types |
| enum | { INPUT_FILE,
INPUT_STREAM,
INPUT_STREAM_ATTACHED,
INPUT_MEMORY
} |
Protected Attributes |
|
union { |
| const char * fileName |
| OSInputStream * pInputStream |
| struct { |
| const OSOCTET * pMemBuf |
| size_t bufSize |
| } memBuf |
| } | mInput |
|
enum OSXMLDecodeBuffer:: { ... } | mInputId |
It contains variables and methods specific to decoding XML messages. It is used to manage the input buffer containing a message to be decoded.
Note that the XML decode buffer object does not take a message buffer argument because buffer management is handled by the XML parser.