#include <SDXContentHandler.h>

Public Member Functions | |
| virtual void | startDocument () |
| Start document. | |
| virtual void | startNode (std::string nodeName) |
| Start node with name nodeName. | |
| virtual void | writeAttribute (std::string name, std::string value) |
| Write an attribute with the given name and value. | |
| virtual void | endDocument () |
| End document. | |
| virtual void | endNode () |
| End node started with startNode call. | |
| void | writeNode (std::string name, std::string value) |
| Write node with the given name that has one unnamed attribute with the given value. | |
Definition at line 11 of file SDXContentHandler.h.
| virtual void SDX::ContentHandler::endNode | ( | ) | [inline, virtual] |
End node started with startNode call.
Calling this method with insufficient calls to startNode will result in undefined behaviour.
Reimplemented in SDX::Helpers::ContentPrinter, SDX::Formats::CsvStreamWriter, SDX::Helpers::DocumentBuilder, SDX::Formats::TabBasedStreamWriter, and SDX::Formats::XmlStreamWriter.
Definition at line 36 of file SDXContentHandler.h.
| virtual void SDX::ContentHandler::startNode | ( | std::string | nodeName | ) | [inline, virtual] |
Start node with name nodeName.
A corresponding endNode call should be made later on to end this node.
Reimplemented in SDX::Helpers::ContentPrinter, SDX::Formats::CsvStreamWriter, SDX::Helpers::DocumentBuilder, SDX::Formats::TabBasedStreamWriter, and SDX::Formats::XmlStreamWriter.
Definition at line 21 of file SDXContentHandler.h.
| void SDX::ContentHandler::writeNode | ( | std::string | name, | |
| std::string | value | |||
| ) | [inline] |
Write node with the given name that has one unnamed attribute with the given value.
This function does the same as:
startNode(name);
writeAttribute("", value);
endNode();
Definition at line 45 of file SDXContentHandler.h.
1.5.8