nidas
v1.2-1520
|
An XMLWriter which writes the NIDAS XML configuration. More...
#include <XMLConfigWriter.h>
Public Member Functions | |
XMLConfigWriter () throw (nidas::core::XMLException) | |
XMLConfigWriter (const DSMConfig *dsm) throw (nidas::core::XMLException) | |
~XMLConfigWriter () | |
void | setDiscardDefaultContent (bool val) |
Discard default content. More... | |
void | setEntities (bool val) |
Control writing of entities. More... | |
void | setCanonicalForm (bool val) |
Canonicalize the output. More... | |
void | setPrettyPrint (bool val) |
Format pretty-print. More... | |
void | setNormalizeCharacters (bool val) |
Normalize characters. More... | |
void | setSplitCDATASections (bool val) |
Split CDATA sections. More... | |
void | setValidation (bool val) |
Validation. More... | |
void | setWhitespaceInElement (bool val) |
Whitespace in element content. More... | |
void | setXMLDeclaration (bool val) |
Include xml declaration. More... | |
void | setFilter (xercesc::DOMWriterFilter *filter) |
virtual void | write (xercesc::DOMDocument *doc, const std::string &fileName) throw (nidas::core::XMLException,nidas::util::IOException) |
virtual void | writeNode (xercesc::XMLFormatTarget *const dest, const xercesc::DOMNode &node) throw (nidas::core::XMLException,nidas::util::IOException) |
Private Member Functions | |
XMLConfigWriter (const XMLConfigWriter &) | |
No copying. More... | |
XMLConfigWriter & | operator= (const XMLConfigWriter &) |
No assignment. More... | |
Private Attributes | |
XMLConfigWriterFilter * | _filter |
An XMLWriter which writes the NIDAS XML configuration.
XMLConfigWriter::XMLConfigWriter | ( | ) | ||
throw | ( | nidas::core::XMLException | ||
) |
XMLConfigWriter::XMLConfigWriter | ( | const DSMConfig * | dsm | ) | |
throw | ( | nidas::core::XMLException | |||
) |
XMLConfigWriter::~XMLConfigWriter | ( | ) |
|
private |
No copying.
|
private |
No assignment.
|
inherited |
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. |
|
inherited |
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. |
|
inherited |
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. |
|
inherited |
|
inherited |
Normalize characters.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
val | true is not supported by Xerces-c. Default: false. |
|
inherited |
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. |
Referenced by nidas::core::Datasets::writeXML(), and nidas::core::ProjectConfigs::writeXML().
|
inherited |
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. |
|
inherited |
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. |
|
inherited |
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. |
|
inherited |
Include xml declaration.
See /link http://xml.apache.org/xerces-c/program-dom.html#DOMWriterFeatures
val | true: include xml declaration. Default: true. |
|
virtualinherited |
Referenced by nidas::core::Datasets::writeXML(), and nidas::core::ProjectConfigs::writeXML().
|
virtualinherited |
Referenced by nidas::dynld::UDPSampleOutput::VariableListWorker::run().
|
private |