|
nidas v1.2.3
|
An XMLWriter which writes the NIDAS XML configuration. More...
#include <XMLConfigWriter.h>

Public Member Functions | |
| XMLConfigWriter () | |
| XMLConfigWriter (const DSMConfig *dsm) | |
| ~XMLConfigWriter () | |
| int | getNumDSM () const |
| void | setDiscardDefaultContent (bool val) |
| Discard default content. | |
| void | setEntities (bool val) |
| Control writing of entities. | |
| void | setCanonicalForm (bool val) |
| Canonicalize the output. | |
| void | setPrettyPrint (bool val) |
| Format pretty-print. | |
| void | setNormalizeCharacters (bool val) |
| Normalize characters. | |
| void | setSplitCDATASections (bool val) |
| Split CDATA sections. | |
| void | setValidation (bool val) |
| Validation. | |
| void | setWhitespaceInElement (bool val) |
| Whitespace in element content. | |
| void | setXMLDeclaration (bool val) |
| Include xml declaration. | |
| void | setFilter (xercesc::DOMLSSerializerFilter *filter) |
| virtual void | write (xercesc::DOMDocument *doc, const std::string &fileName) |
| virtual void | writeNode (xercesc::DOMLSOutput *const dest, const xercesc::DOMNode &node) |
Private Member Functions | |
| XMLConfigWriter (const XMLConfigWriter &) | |
| No copying. | |
| XMLConfigWriter & | operator= (const XMLConfigWriter &) |
| No assignment. | |
Private Attributes | |
| XMLConfigWriterFilter * | _filter |
| xercesc::DOMImplementation * | _impl |
| xercesc::DOMLSSerializer * | _writer |
| XMLErrorHandler | _errorHandler |
An XMLWriter which writes the NIDAS XML configuration.
| XMLConfigWriter::XMLConfigWriter | ( | ) |
References nidas::core::XMLWriter::setFilter().
References _filter, and nidas::core::XMLWriter::setFilter().
| XMLConfigWriter::~XMLConfigWriter | ( | ) |
References _filter, and nidas::core::XMLWriter::setFilter().
|
private |
No copying.
|
inline |
References _filter, and nidas::core::XMLConfigWriterFilter::getNumDSM().
|
private |
No assignment.
Canonicalize the output.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true: is not supported in Xerces-c. Default: false. |
References nidas::core::XMLWriter::_writer.
Discard default content.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | Boolean value specifying whether to discard default values of attributes and content. Default: true. |
References nidas::core::XMLWriter::_writer.
Control writing of entities.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true: entity references are serialized as * &entityName;. If false, entity references are expanded. Default: true. |
References nidas::core::XMLWriter::_writer.
|
inherited |
References nidas::core::XMLWriter::_writer.
Referenced by XMLConfigWriter(), XMLConfigWriter(), and ~XMLConfigWriter().
Normalize characters.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true is not supported by Xerces-c. Default: false. |
References nidas::core::XMLWriter::_writer.
Format pretty-print.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true: add whitespace to produce an indented form. Default: false. |
References nidas::core::XMLWriter::_writer.
Split CDATA sections.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true: split CDATA sections containing ']]>' or unrepresentable characters in the output encoding. false: signal an errror. Default: true. |
References nidas::core::XMLWriter::_writer.
Validation.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | false: do not report validation errors. true: not supported by Xerces-c. Default: false. |
References nidas::core::XMLWriter::_writer.
Whitespace in element content.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true: include text nodes that can be considered ignorable whitespace in the DOM tree. false: not supported by Xerces-c. Default: true. |
References nidas::core::XMLWriter::_writer.
Include xml declaration.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
| val | true: include xml declaration. Default: true. |
|
virtualinherited |
|
privateinherited |
Referenced by nidas::core::XMLWriter::writeNode(), and nidas::core::XMLWriter::XMLWriter().
|
private |
Referenced by getNumDSM(), XMLConfigWriter(), and ~XMLConfigWriter().
|
privateinherited |
Referenced by nidas::core::XMLWriter::write().
|
privateinherited |
Referenced by nidas::core::XMLWriter::setCanonicalForm(), nidas::core::XMLWriter::setDiscardDefaultContent(), nidas::core::XMLWriter::setEntities(), nidas::core::XMLWriter::setFilter(), nidas::core::XMLWriter::setNormalizeCharacters(), nidas::core::XMLWriter::setPrettyPrint(), nidas::core::XMLWriter::setSplitCDATASections(), nidas::core::XMLWriter::setValidation(), nidas::core::XMLWriter::setWhitespaceInElement(), nidas::core::XMLWriter::writeNode(), nidas::core::XMLWriter::XMLWriter(), and nidas::core::XMLWriter::~XMLWriter().