Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <SaxParseInterface.h>
Static Public Member Functions | |
static void | parseMemory (const std::string &xmlIn, ext::deque< Token > &out) |
static ext::deque< Token > | parseMemory (const std::string &xmlIn) |
static void | parseFile (const std::string &filename, ext::deque< Token > &out) |
static ext::deque< Token > | parseFile (const std::string &filename) |
static void | parseStdin (ext::deque< Token > &out) |
static ext::deque< Token > | parseStdin () |
static void | parseStream (ext::istream &in, ext::deque< Token > &out) |
static ext::deque< Token > | parseStream (ext::istream &in) |
This class performs token parsing of file, string, or stream containing XML. Contains callback method for libxml SAX parser.
|
static |
Parses the file containing XML.
filename | input XML |
CommonException | when an error occurs (e.g. file doesn't exist, XML is not valid) |
|
static |
Parses the file containing XML.
filename | input XML |
out | parsed list of xml tokens |
CommonException | when an error occurs (e.g. file doesn't exist, XML is not valid) |
|
static |
Parses the string containing XML.
xmlIn | input XML |
CommonException | when an error occurs (e.g. XML is not valid) |
|
static |
Parses the string containing XML.
xmlIn | input XML |
out | parsed list of xml tokens |
CommonException | when an error occurs (e.g. XML is not valid) |
|
static |
Parses the XML from stdin.
CommonException | when an error occurs (e.g. XML is not valid) |
|
static |
Parses the XML from stdin.
out | parsed list of xml tokens |
CommonException | when an error occurs (e.g. XML is not valid) |
|
static |
Parses the XML from stream.
in | input XML |
CommonException | when an error occurs (e.g. XML is not valid) |
|
static |
Parses the XML from stream.
in | input XML |
out | parsed list of xml tokens |
CommonException | when an error occurs (e.g. XML is not valid) |