#include <judo.hpp>
Inheritance diagram for judo::ElementStream::

Public Methods | |
| ElementStream (ElementStreamEventListener *l) | |
| virtual | ~ElementStream () |
| void | push (const char *data, int datasz) |
| Push data into the stream for parsing. More... | |
| void | reset () |
| Reset the parser for a new XML document/stream. | |
Static Public Methods | |
| Element* | parseAtOnce (const char *buffer) |
| Parse a single buffer of XML. | |
Definition at line 387 of file judo.hpp.
|
|
Push data into the stream for parsing.
Reimplemented in jabberoo::Session. Definition at line 50 of file ElementStream.cpp. 00051 {
00052 assert(_document_ended != true);
00053 if (!XML_Parse(_parser, data, datasz, 0))
00054 {
00055 throw exception::ParserError(XML_GetErrorCode(_parser));
00056 }
00057 }
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001