opendap/src/main/java/opendap/dap/DDS.java
public String getDDSText()
    {
        StringWriter sw = new StringWriter();
        this.print(new PrintWriter(sw));
        return sw.toString();
    }
public String getDDSText()
    {
        StringWriter sw = new StringWriter();
        this.print(new PrintWriter(sw));
        return sw.toString();
    }
This a wrapper method for <code>DDS.print()</code>.

@return The output of <code>DDS.print()</code> as
<code>String</code>
@see #print(PrintWriter)