#include <dbobjgetstreamer.hpp>
Inheritance diagram for DBOBJGetStreamer:
Definition at line 73 of file dbobjgetstreamer.hpp.
Public Methods | |
DBOBJGetStreamer (const XMLStreamerFactory *p_pParent, StreamerParams *p_pParameters, XMLFlowContext *p_pContext, XMLStreamConsumer *p_pOutput, ContentHandler *p_pHandler, const DBOBJDefinitionNode *p_pDBOBJDefinitionRoot, DBOBJDefinitionNode *p_pDBOBJOwnedDefinitionRoot) | |
virtual | ~DBOBJGetStreamer () |
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. | |
void | executeSQL () |
Executes SQL Statements ans stores resulting OTL data streams in named data map. | |
void | makeXML () |
Renders XML data from named data map into output buffer. |
|
Definition at line 54 of file dbobjgetstreamer.cpp. References DEBUG_CREATE. |
|
Definition at line 65 of file dbobjgetstreamer.cpp. References DEBUG_DEL, VAarray< otl_stream_peek * >::empty(), VAarray< char * >::empty(), XMLFlowContext::getThreadId(), XMLStreamer::m_pContext, XMLStreamer::m_pParent, VAarray< otl_stream_peek * >::pop(), VAarray< char * >::pop(), and releaseCharBuffer(). |
|
xML Stream commit function.
Reimplemented from SaxStreamer. Definition at line 88 of file dbobjgetstreamer.cpp. References CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, SaxStreamer::commitStream(), DEBUG_IN, DEBUG_OUT, executeSQL(), XMLStreamer::getParamValue(), XMLFlowContext::getThreadId(), importCharBuffer(), XMLStreamer::m_pContext, SaxStreamer::m_pHandler, XMLStreamer::m_pParent, makeXML(), ON_XML_FLOW_ERROR_DO, ON_XML_FLOW_ERROR_THROW, PREP_CATCH_XML_FLOW_ERROR, and WATCH_XML_FLOW_ERROR. |
|
Executes SQL Statements ans stores resulting OTL data streams in named data map.
Definition at line 850 of file dbobjgetstreamer.cpp. References VAarray< otl_stream_peek * >::add(), CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, DBOBJGETSTREAMER_TAGNAME, DEBUG_ECHO, DEBUG_IN, DEBUG_OUT, VAarray< char * >::dequeue(), VAarray< char * >::empty(), MAKE_XMLFLOW_EXCEPTION, ON_XML_FLOW_ERROR_THROW, otl_stream_peek::pos, otl_stream_peek::pOTLStream, PREP_CATCH_XML_FLOW_ERROR, releaseCharBuffer(), VAarray< char * >::size(), and WATCH_XML_FLOW_ERROR. Referenced by commitStream(). |
|
Renders XML data from named data map into output buffer.
Definition at line 1044 of file dbobjgetstreamer.cpp. References DBOBJGETSTREAMER_TAGNAME, DEBUG_FUNC, VAarray< otl_stream_peek * >::empty(), and VAarray< otl_stream_peek * >::pop(). Referenced by commitStream(). |