#include <mootExpatParser.h>
Inheritance diagram for moot::mootExpatParser:
|
Default constructor:
|
|
Default destructor |
|
|
|
|
|
|
|
|
|
|
|
|
|
complain Reimplemented in moot::TokenReaderExpat. |
|
Handle character data Reimplemented in moot::TokenReaderExpat. |
|
Finish input from currently selected source & perform any required cleanup operations. This method should always be called before selecting a new input source. Descendants may override this method. Reimplemented in moot::TokenReaderExpat. |
|
Handle comments Reimplemented in moot::TokenReaderExpat. |
|
Print current parser context (in real input encoding) |
|
Get current parser context as a std::string |
|
Handle any other document-internal data (no entity expansion!) Reimplemented in moot::TokenReaderExpat. |
|
Handle end of CDATA sections |
|
Handle end elements Reimplemented in moot::TokenReaderExpat. |
|
Select input from a C memory-buffer. Caller is responsible for allocation and de-allocation. Descendants using C memory-buffer input may override this method. Default implementation calls from_mstream(). Reimplemented in moot::TokenReaderExpat. |
|
Select input from a C++ stream. Caller is responsible for allocation and de-allocation. Descendants using C++ stream input may override this method. Default implementation calls from_mstream(). Reimplemented in moot::TokenReaderExpat. |
|
Select input from a file descriptor. Caller is responsible for opening and closing the stream. Descendants using file descriptor input may override this method. No default implementation. Reimplemented in moot::TokenReaderExpat. |
|
Select input from a C stream. Caller is responsible for opening and closing the stream. Descendants using C stream input may override this method. Default implementation calls from_mstream(). Reimplemented in moot::TokenReaderExpat. |
|
Select input from a named file. Descendants using named file input may override this method. The filename "-" may be used to specify stdin. Default implementation calls from_mstream(). Reimplemented in moot::TokenReaderExpat. |
|
Select input from a mootio::mistream reference. This is the basic case. Descendant classes may override this method. Reimplemented in moot::TokenReaderExpat. |
|
Select input from a mootio::mistream pointer. This is the basic case. Descendant classes may override this method. Reimplemented in moot::TokenReaderExpat. |
|
Select input from a NUL-terminated C string. Caller is responsible for allocation and de-allocation. Descendants using C string input may override this method. Default implementation calls from_cbuffer(s,len). |
|
Parse the entirety of the stream @in, which defaults to the currently selected input stream. Only minimal sanity checks are performed. |
|
Parse from your very own string buffer.
|
|
Check whether object is in a sane state for parsing, printing warning messages if this is not the case |
|
Read in and parse the next chunk from input source @xp_istream using an internal buffer. Returns true on success, false on failure.
|
|
Parse a C stream until EOF |
|
Parse an entire named file |
|
Handle PIs |
|
Reset parser state: re-initializes the internal xml buffer, as well as the expat parser, its encoding and handlers. Reimplemented in moot::TokenReaderExpat. |
|
Override document encoding. Implicitly reset()s the parser. |
|
Handle start of CDATA sections |
|
Handle start elements Reimplemented in moot::TokenReaderExpat. |
|
Handle XML declarations Reimplemented in moot::TokenReaderExpat. |
|
Complain initiated by expat |
|
|
|
|
|
|
|
|
|
|
|
|