title: java adding cdata to xml string
body: <p>I need to add CDATA to xml string for sign it with certificate.</p>
  
  <p>String looks like:</p>
  
  <pre><code>&lt;SignedContent&gt;someparametres&lt;/SignedContent&gt;
  </code></pre>
  
  <p>Result must be like:</p>
  
  <pre><code>&lt;![CDATA[&lt;SignedContent&gt;someparametres&lt;/SignedContent&gt;]]&gt;
  </code></pre>
  
  <p>How can i do this? Pls help</p>
  
  <p>P.S. Xml string has only one row (removed all tabs, all spaces, BOM)</p>