Java tutorial
//package com.java2s; /* * Copyright (c) 2008-2015 Geode Systems LLC * This Software is licensed under the Geode Systems RAMADDA License available in the source distribution in the file * ramadda_license.txt. The above copyright notice shall be included in all copies or substantial portions of the Software. */ public class Main { /** * _more_ * * @param sb _more_ * @param s _more_ * * @throws Exception _more_ */ public static void appendCdata(Appendable sb, String s) throws Exception { sb.append("<![CDATA["); sb.append(s); sb.append("]]>"); } }