#include <saxstreamer.hpp>
Inheritance diagram for SaxStreamer:
Definition at line 57 of file saxstreamer.hpp.
Public Methods | |
SaxStreamer (const XMLStreamerFactory *p_pParent, StreamerParams *p_pParameters, XMLFlowContext *p_pContext, XMLStreamConsumer *p_pOutput, ContentHandler *p_pHandler, bool p_fCopyStreamToOutput) | |
virtual | ~SaxStreamer () |
virtual bool | initStream () |
Stream beginning notifier. This function is called before receiving any byte of the input XML stream. It should performs init tasks. | |
virtual void | writeData (const char *p_pszData, unsigned int p_uiDataLen) |
XML Stream reception function. This function is called to write input XML stream to the Streamer. | |
virtual bool | commitStream (bool p_fFinal=false) |
xML Stream commit function. This function is called to commit a chunk or the whole of the input XML stream. A partial commit means that the data provided since last commit is OK for processing. A final commit means that the whole input stream has been provided and that the streamer should consider the input XML document as complete. | |
Protected Attributes | |
StreamSAX2Parser * | m_pStreamParser |
ContentHandler * | m_pHandler |
XDFLSaxErrorReporter * | m_pErrorReporter |
bool | m_fCopyStreamToOutput |
bool | m_fDataPresent |
|
Definition at line 56 of file saxstreamer.cpp. References DEBUG_CREATE, m_fCopyStreamToOutput, m_fDataPresent, and m_pHandler. |
|
Definition at line 69 of file saxstreamer.cpp. References DEBUG_DEL, m_pErrorReporter, m_pHandler, and m_pStreamParser. |
|
xML Stream commit function.
Reimplemented from XMLStreamer. Reimplemented in AutodescStreamer, CacheDefinitionStreamer, DDLStreamer, and DBOBJGetStreamer. Definition at line 111 of file saxstreamer.cpp. References XMLStreamConsumer::commitStream(), DEBUG_IN, DEBUG_OUT, m_pHandler, XMLStreamer::m_pOutput, and m_pStreamParser. Referenced by DDLStreamer::commitStream(), DBOBJGetStreamer::commitStream(), CacheDefinitionStreamer::commitStream(), and AutodescStreamer::commitStream(). |
|
Stream beginning notifier.
Reimplemented from XMLStreamer. Definition at line 82 of file saxstreamer.cpp. References DEBUG_IN, DEBUG_OUT, m_pErrorReporter, and m_pStreamParser. |
|
XML Stream reception function.
Reimplemented from XMLStreamer. Definition at line 96 of file saxstreamer.cpp. References DEBUG_IN, DEBUG_OUT, m_fDataPresent, XMLStreamer::m_pOutput, m_pStreamParser, and XMLStreamConsumer::writeData(). |
|
Definition at line 65 of file saxstreamer.hpp. Referenced by SaxStreamer(). |
|
Definition at line 66 of file saxstreamer.hpp. Referenced by SaxStreamer(), and writeData(). |
|
Definition at line 64 of file saxstreamer.hpp. Referenced by initStream(), and ~SaxStreamer(). |
|
Definition at line 63 of file saxstreamer.hpp. Referenced by commitStream(), DDLStreamer::commitStream(), DBOBJGetStreamer::commitStream(), CacheDefinitionStreamer::commitStream(), AutodescStreamer::commitStream(), SaxStreamer(), and ~SaxStreamer(). |
|
Definition at line 62 of file saxstreamer.hpp. Referenced by commitStream(), initStream(), writeData(), and ~SaxStreamer(). |