3#include <sptk5/Buffer.h>
4#include <sptk5/String.h>
5#include <sptk5/xdoc/Document.h>
6#include <sptk5/xdoc/Node.h>
7#include <sptk5/xdoc/XMLDocType.h>
15 : m_indentSpaces(indentSpaces)
19 void saveElement(
const Node* node,
const String& nodeName,
Buffer& buffer,
bool formatted,
int indent);
21 void appendSubNodes(
const Node* node,
Buffer& buffer,
bool formatted,
int indent);
23 static void appendClosingTag(
const Node* node,
Buffer& buffer,
bool formatted,
int indent);
25 void saveAttributes(
const Node* node,
Buffer& buffer);
27 int indentSpaces()
const
29 return m_indentSpaces;
33 int m_indentSpaces {2};
38 void appendNodeNameAndAttributes(
const Node* node,
const String& nodeName,
Buffer& buffer);
40 void appendNodeEnd(
const Node* node,
const String& nodeName,
Buffer& buffer,
bool isNode);
Definition: ExportXML.h:12
Definition: XMLDocType.h:50