opendap/src/main/java/opendap/dap/DDS.java
public void printDAS(PrintWriter pw)
    {

        DAS myDAS = null;

        try {
            myDAS = this.getDAS();
            myDAS.print(pw);
        } catch (DASException dasE) {
            pw.println("\n\nCould not get a DAS object to print!\n" +
                    "DDS.getDAS() threw an Exception. Message: \n" +
                    dasE.getMessage());
        }
    }
public void printDAS(PrintWriter pw)
    {

        DAS myDAS = null;

        try {
            myDAS = this.getDAS();
            myDAS.print(pw);
        } catch (DASException dasE) {
            pw.println("\n\nCould not get a DAS object to print!\n" +
                    "DDS.getDAS() threw an Exception. Message: \n" +
                    dasE.getMessage());
        }
    }
Print a DAS constructed from this DDS and it's BaseType variables.

@param pw The <code>PrintWriter</code> to print to.