#include <BaseXMLParser.h>


Public Member Functions | |
| void | RegisterCDATATag (const String &tag) |
| void | Parse (Stream *stream) |
| int | GetLineNumber () |
| virtual void | HandleElementStart (const String &name, const XMLAttributes &attributes) |
| Called when the parser finds the beginning of an element tag. | |
| virtual void | HandleElementEnd (const String &name) |
| Called when the parser finds the end of an element tag. | |
| virtual void | HandleData (const String &data) |
| Called when the parser encounters data. | |
Protected Attributes | |
| Stream * | xml_source |
| void Rocket::Core::BaseXMLParser::RegisterCDATATag | ( | const String & | tag | ) |
Registers a tag as containing general character data. This will mean the contents of the tag will be parsed similarly to a CDATA tag (ie, no other markup will be recognised until the section's closing tag is found).
| [in] | tag | The tag to register as containing generic character data. |
| void Rocket::Core::BaseXMLParser::Parse | ( | Stream * | stream | ) |
Parses the given stream as an XML file, and calls the handlers when interesting phenomena are encountered.
| int Rocket::Core::BaseXMLParser::GetLineNumber | ( | ) |
Get the line number in the stream.