This class helps us interface with expat.
Inheritance:
Public Methods
-
void parse(string data)
- This feeds more data into the parser
-
void reset()
- Deletes the expat datastructures and prepares a new one.
Protected Methods
-
virtual void recievedTag( XMLNode &n)
- This method is called whenever a new tag is recieved.
-
virtual void rootTagRecieved(XMLNode &root)
- This method is called when the first complete tag is recieved
-
virtual void rootTagEnded()
- This method is called when first tag recieved is ended.
-
virtual void parserError(string errorMsg, int line )
- This is any errors that expat produces.
Documentation
This class helps us interface with expat.
This is the coolest class in the whole project. This class creates a nice clean interface
between expat (which is C) and C++.
void parse(string data)
-
This feeds more data into the parser
void reset()
-
Deletes the expat datastructures and prepares a new one. Nice for soft
resets. Used by XMLStream
virtual void recievedTag( XMLNode &n)
-
This method is called whenever a new tag is recieved. You should ovveride this.
virtual void rootTagRecieved(XMLNode &root)
-
This method is called when the first complete tag is recieved
virtual void rootTagEnded()
-
This method is called when first tag recieved is ended. This usually means
that the document is EOF.
virtual void parserError(string errorMsg, int line )
-
This is any errors that expat produces. The class will not work anymore after an
error has been encountered unless you call reset.
- Direct child classes:
- XMLParser
- Author:
- Seth Hartbecke (gandalf@netins.net)
@short Expat interface
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.