#include <SDXContentPrinter.h>

Public Member Functions | |
| ContentPrinter (ContentHandler *contentHandler=0) | |
| Construtor. | |
| void | setContentHandler (ContentHandler *) |
| ContentHandler to pass content to. | |
| void | startDocument () |
| Start document. | |
| void | startNode (std::string) |
| Start node with name nodeName. | |
| void | writeAttribute (std::string, std::string) |
| Write an attribute with the given name and value. | |
| void | endNode () |
| End node started with startNode call. | |
| void | endDocument () |
| End document. | |
Useful when for ex. writing ResourceReaders.
Definition at line 14 of file SDXContentPrinter.h.
| ContentPrinter::ContentPrinter | ( | ContentHandler * | contentHandler = 0 |
) |
Construtor.
| contentHandler | ContentHandler to pass content to. |
Definition at line 9 of file SDXContentPrinter.cpp.
| void ContentPrinter::endNode | ( | ) | [virtual] |
End node started with startNode call.
Calling this method with insufficient calls to startNode will result in undefined behaviour.
Reimplemented from SDX::ContentHandler.
Definition at line 38 of file SDXContentPrinter.cpp.
| void ContentPrinter::startNode | ( | std::string | nodeName | ) | [virtual] |
Start node with name nodeName.
A corresponding endNode call should be made later on to end this node.
Reimplemented from SDX::ContentHandler.
Definition at line 24 of file SDXContentPrinter.cpp.
1.5.8