private void printCDATA(Writer out, CDATA cdata) throws IOException {
    String str = (currentFormat.mode == Format.TextMode.NORMALIZE)
                 ? cdata.getTextNormalize()
                 : ((currentFormat.mode == Format.TextMode.TRIM) ?
                    cdata.getText().trim() : cdata.getText());
    out.write("<![CDATA[");
    out.write(str);
    out.write("]]>");
  }
private void printCDATA(Writer out, CDATA cdata)