public class ServerDDS extends dods.dap.DDS implements Cloneable
All of the variables contained by a ServerDDS must implement the Projection interface.
DDS,
CEEvaluator| Modifier | Constructor and Description |
|---|---|
protected |
ServerDDS() |
|
ServerDDS(dods.dap.BaseTypeFactory factory)
Creates an empty
ServerDDS with the given
BaseTypeFactory. |
protected |
ServerDDS(String n)
Creates an empty
Server DDS with the given dataset name. |
|
ServerDDS(String n,
dods.dap.BaseTypeFactory factory)
Creates an empty
ServerDDS with the given dataset name
and BaseTypeFactory. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Return a clone of the
ServerDDS. |
String |
getDatasetFilename()
Get the dataset filename.
|
void |
printConstrained(OutputStream os)
Print the constrained
DDS on the given
OutputStream. |
void |
printConstrained(PrintWriter os)
Print the constrained
DDS on the given
PrintWriter. |
void |
setDatasetFilename(String n)
Set the filename of the dataset.
|
protected ServerDDS()
protected ServerDDS(String n)
Server DDS with the given dataset name.n - the dataset namepublic ServerDDS(dods.dap.BaseTypeFactory factory)
ServerDDS with the given
BaseTypeFactory. This will be used for DODS servers
which need to construct subclasses of the various
BaseType objects to hold additional server-side
information.factory - the server BaseTypeFactory object.public ServerDDS(String n, dods.dap.BaseTypeFactory factory)
ServerDDS with the given dataset name
and BaseTypeFactory. This will be used for DODS servers
which need to construct subclasses of the various
BaseType objects to hold additional server-side
information.n - the dataset namefactory - the server BaseTypeFactory object.public Object clone()
ServerDDS. A deep copy is
performed on this object and those it contains.clone in class dods.dap.DDSpublic void setDatasetFilename(String n)
read() method of the FileIO interface. The filename of
the dataset may be a real filename or may be any other string that
can be used to identify for the read method how to
access the data-store of which a particular variable is a member.n - The name of the dataset.ServerMethods.read()public String getDatasetFilename()
setDatasetFilename(String)public void printConstrained(PrintWriter os)
DDS on the given
PrintWriter.os - the PrintWriter to use for output.public final void printConstrained(OutputStream os)
DDS on the given
OutputStream.os - the OutputStream to use for output.DDS.print(PrintWriter)