Java Utililty Methods XML CData

List of utility methods to do XML CData

Description

The list of methods to do XML CData are organized into topic(s).

Method

voidwriteRcData(Node child, Writer out)
write Rc Data
out.write(child.getNodeValue());
voidwriteXmlElementCData(XMLStreamWriter out, String name, String value)
DOCUMENTME.
if (value != null) {
    out.writeStartElement(name);
    out.writeCData(value);
    out.writeEndElement();
} else {
    out.writeEmptyElement(name);