#include <xmlcodecbase.h>
Inheritance diagram for XmlCodecBase:
Public Methods | |
XmlCodecBase (void) | |
A constructor. | |
virtual | ~XmlCodecBase (void) |
A destructor. More... | |
virtual bool | encode (IODevice *inDevice, IODevice *outDevice)=0 |
Encode data from one device to another (the PULL mode). More... | |
virtual void | initializePushCoder (IODevice *outDevice)=0 |
Initialize the coder in PUSH mode. More... | |
virtual bool | encodePush (const char *data, int length, bool isFinal=false)=0 |
Encode the data in PUSH mode. More... | |
virtual bool | decode (IODevice *inDevice, SAXReceptor *receptor, void *userData=0)=0 |
Decode data from one device and use given SAX receptor. More... | |
Protected Attributes | |
XmlCoderType | coderType |
The type of the coder. |
This class implements a simple and unified interface for all XMl coding related classes.
Definition at line 62 of file xmlcodecbase.h.
|
A destructor.
Does nothing. Definition at line 73 of file xmlcodecbase.h. |
|
Decode data from one device and use given SAX receptor.
Implemented in ExaltCodec. Referenced by ExaltCodec::decode. |
|
Encode data from one device to another (the PULL mode).
Implemented in ExaltCodec. Referenced by ExaltCodec::encode. |
|
Encode the data in PUSH mode.
The coder encodes given chunk of data.
Implemented in ExaltCodec. Referenced by ExaltCodec::encodePush. |
|
Initialize the coder in PUSH mode.
Implemented in ExaltCodec. Referenced by ExaltCodec::initializePushCoder. |