opendap/src/main/java/opendap/servlet/GetInfoHandler.java
private String buildVariableSummaries(DAS das, ServerDDS dds) {


        StringBuilder vs = new StringBuilder();
        vs.append("<h3>Variables in this Dataset</h3>\n<table>\n");

        Enumeration e = dds.getVariables();

        while (e.hasMoreElements()) {

            BaseType bt = (BaseType) e.nextElement();

            vs.append("<tr>");

            vs.append(summarizeVariable(bt, das));

            vs.append("</tr>");

        }

        vs.append("</table>\n<p>\n");

        return (vs.toString());
    }
private String buildVariableSummaries(DAS das, ServerDDS dds) {


        StringBuilder vs = new StringBuilder();
        vs.append("<h3>Variables in this Dataset</h3>\n<table>\n");

        Enumeration e = dds.getVariables();

        while (e.hasMoreElements()) {

            BaseType bt = (BaseType) e.nextElement();

            vs.append("<tr>");

            vs.append(summarizeVariable(bt, das));

            vs.append("</tr>");

        }

        vs.append("</table>\n<p>\n");

        return (vs.toString());
    }
private String buildVariableSummaries ( DAS das , ServerDDS dds ) { StringBuilder vs = new StringBuilder ( ) ; vs . append ( "<h3>Variables in this Dataset</h3>\n<table>\n" ) ; Enumeration e = dds . getVariables ( ) ; while ( e . hasMoreElements ( ) ) { BaseType bt = ( BaseType ) e . nextElement ( ) ; vs . append ( "<tr>" ) ; vs . append ( summarizeVariable ( bt , das ) ) ; vs . append ( "</tr>" ) ; } vs . append ( "</table>\n<p>\n" ) ; return ( vs . toString ( ) ) ; }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -