opendap/src/main/java/opendap/dap/DConnect2.java
public DataDDS getDataDDX(String CE, BaseTypeFactory btf) throws MalformedURLException, IOException,
            ParseException, DDSException, DAP2Exception
    {

        DataDDXCommand command = new DataDDXCommand(btf, this.ver);
        openConnection(urlString + ".ddx" + (getCompleteCE(CE)), command);
        return command.dds;
    }
public DataDDS getDataDDX(String CE, BaseTypeFactory btf) throws MalformedURLException, IOException,
            ParseException, DDSException, DAP2Exception
    {

        DataDDXCommand command = new DataDDXCommand(btf, this.ver);
        openConnection(urlString + ".ddx" + (getCompleteCE(CE)), command);
        return command.dds;
    }
Returns the DataDDS object from the dataset referenced by this object's URL.
The DDS object is referred to by appending `.ddx' to the end of a OPeNDAP
URL. The server should send back a DDX (A DDS in XML format) which
will get parsed here (locally) and a new DDS instantiated using
the DDSXMLParser.

@param CE  The constraint expression to use for this request.
@param btf The <code>BaseTypeFactory</code> to build the member
variables in the DDS with.
@return the DataDDS associated with the referenced dataset.
@throws MalformedURLException if the URL given to the constructor
has an error
@throws IOException           if an error connecting to the remote server
@throws ParseException        if the DDS parser returned an error
@throws DDSException          on an error constructing the DDS
@throws DAP2Exception         if an error returned by the remote server
@opendap.ddx.experimental
@see BaseTypeFactory