#include "loader.h"
Go to the source code of this file.
Functions | |
void | saxBeginElement (const char *_tag) |
SAX event handler for opening tags. | |
void | saxBeginEndElement (const char *_tag) |
SAX event handler for bachelor tags. | |
void | saxEndElement () |
SAX event handler for closing tags. | |
void | saxCharacters (const char *_text) |
SAX event handler for PCDATA content. | |
int | yyxmllex () |
Triggers lexing of the input stream. | |
int | saxparse () |
Triggers parsing of the input stream. | |
int | yyxmllex_destroy () |
Destroys the lexer. | |
void | destroyLexer () |
Destroys the lexer. |
SAX-PARSER.
Definition in file loader.cpp.
void destroyLexer | ( | ) |
Destroys the lexer.
Wrapper that calls yyxmlex(), depending on the architecture.
int | See yyxmllex_destroy(). |
void |
Definition at line 129 of file loader.cpp.
References yyxmllex_destroy().
Referenced by StreamPreProcessor::~StreamPreProcessor().
void saxBeginElement | ( | const char * | _tag | ) |
SAX event handler for opening tags.
Passes the opening tag to the StreamPreProcessor object.
[in] | _tag | The opening that has been received. |
void |
Definition at line 43 of file loader.cpp.
References StreamPreProcessor::getInstance(), and StreamPreProcessor::processOpeningTag().
void saxBeginEndElement | ( | const char * | _tag | ) |
SAX event handler for bachelor tags.
Passes the bachelor tag to the StreamPreProcessor object.
[in] | _tag | The bachelor that has been received. |
void |
Definition at line 53 of file loader.cpp.
References StreamPreProcessor::getInstance(), and StreamPreProcessor::processBachelorTag().
void saxCharacters | ( | const char * | _text | ) |
SAX event handler for PCDATA content.
Passes the PCDATA content to the StreamPreProcessor object.
[in] | _text | The PCDATA content that has been received. |
void |
Definition at line 91 of file loader.cpp.
References StreamPreProcessor::getInstance(), and StreamPreProcessor::processPCData().
void saxEndElement | ( | ) |
SAX event handler for closing tags.
Notifies the StreamPreProcessor object that a closing tag has been read.
void |
Throws | a ParseException if ill-formed XML is detected. |
Definition at line 80 of file loader.cpp.
References StreamPreProcessor::getInstance(), and StreamPreProcessor::processClosingTag().
int saxparse | ( | ) |
Triggers parsing of the input stream.
The main parsing method.
Triggers lexing of the input stream. This method is externally implemented in the parser.
int | See method yyxmllex(). |
int | See the original definition in loader.C. |
Definition at line 111 of file loader.cpp.
References yyxmllex().
Referenced by StreamPreProcessor::readAll(), and StreamPreProcessor::readNext().
int yyxmllex | ( | ) |
Triggers lexing of the input stream.
Triggers lexing of the input stream. This method is externally implemented in the lexer.
int | See lexer. |
Referenced by saxparse().
int yyxmllex_destroy | ( | ) |
Destroys the lexer.
To be called after lexing has been finished.
int | See lexer. |
Referenced by destroyLexer().