protected void serializeCData(CData item,TagNode tagNode,Writer writer) throws IOException {
  if (dontEscape(tagNode)) {
    writer.write(item.getContentWithoutStartAndEndTokens());
  }
 else {
    writer.write(escapeXml(item.getContentWithStartAndEndTokens()));
  }
}

protected void serializeCData ( CData item , TagNode tagNode , Writer writer ) throws IOException { if ( dontEscape ( tagNode ) ) { writer . write ( item . getContentWithoutStartAndEndTokens ( ) ) ; } else { writer . write ( escapeXml ( item . getContentWithStartAndEndTokens ( ) ) ) ; } }
serialize a cdata section . if the context is a script or style tag , and using cdata for script and style is set to true , then we just write the actual content , as the whole section is wrapped in cdata tokens . otherwise we escape the content as if it were regular text .
