Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <SaxComposeInterface.h>
Static Public Member Functions | |
static void | composeMemory (std::string &xmlOut, const ext::deque< Token > &in) |
static std::string | composeMemory (const ext::deque< Token > &in) |
static void | composeFile (const std::string &filename, const ext::deque< Token > &in) |
static void | composeStdout (const ext::deque< Token > &in) |
static void | composeStream (ext::ostream &out, const ext::deque< Token > &in) |
This class performs composing of XML Tokens to file, string, or stream. Contains callback method for libxml SAX composer.
|
static |
Composes the XML to a file.
filename | resulting XML file destination |
in | list of xml tokens |
CommonException | when an error occurs (e.g. xml tokens incorrectly nested) |
|
static |
Composes the XML to a string.
in | list of xml tokens |
CommonException | when an error occurs (e.g. xml tokens incorrectly nested) |
|
static |
Composes the XML to a string.
xmlOut | resulting XML |
in | list of xml tokens |
CommonException | when an error occurs (e.g. xml tokens incorrectly nested) |
|
static |
Composes the XML to a stdout.
in | list of xml tokens |
CommonException | when an error occurs (e.g. xml tokens incorrectly nested) |
|
static |
Composes the XML to a stream.
out | resulting XML stream destination |
in | list of xml tokens |
CommonException | when an error occurs (e.g. xml tokens incorrectly nested) |