|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopendap.dap.BaseType
opendap.dap.DConstructor
opendap.dap.DStructure
opendap.dap.DDS
opendap.dap.Server.ServerDDS
public class ServerDDS
ServerDDS is a specialization of DDS for the server-side of OPeNDAP. This class includes methods used to distinguish synthesized variables (variables added to the DDS by a constraint expression function), methods for CE function management and methods used to return a `constrained DDS' as part of a OPeNDAP data document.
All of the variables contained by a ServerDDS must implement the Projection interface.
DDS
,
CEEvaluator
,
Serialized FormField Summary |
---|
Fields inherited from class opendap.dap.DStructure |
---|
vars |
Constructor Summary | |
---|---|
protected |
ServerDDS()
|
|
ServerDDS(BaseTypeFactory factory)
Creates an empty ServerDDS with the given
BaseTypeFactory . |
protected |
ServerDDS(java.lang.String n)
Creates an empty Server DDS with the given dataset name. |
|
ServerDDS(java.lang.String n,
BaseTypeFactory factory)
Creates an empty ServerDDS with the given dataset name
and BaseTypeFactory . |
|
ServerDDS(java.lang.String n,
BaseTypeFactory factory,
java.lang.String schema)
Creates an empty DDS with the given dataset name and
BaseTypeFactory . |
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a clone of the ServerDDS . |
java.lang.String |
getDatasetFilename()
Get the dataset filename. |
void |
printConstrained(java.io.OutputStream os)
Print the constrained DDS on the given
OutputStream . |
void |
printConstrained(java.io.PrintWriter os)
Print the constrained DDS on the given
PrintWriter . |
void |
printConstrainedXML(java.io.OutputStream os)
Print the constrained DDS on the given
OutputStream . |
void |
printConstrainedXML(java.io.PrintWriter pw)
Print the constrained DDS on the given
PrintWriter . |
void |
setDatasetFilename(java.lang.String n)
Set the filename of the dataset. |
Methods inherited from class opendap.dap.DDS |
---|
addVariable, checkForAttributeNameConflict, checkSemantics, delVariable, getBlobContentID, getDAS, getDDSText, getDDXText, getFactory, getVariable, getVariables, ingestDAS, normalize, numVariables, parse, parseXML, parseXML, print, print, printDAS, printDAS, printXML, printXML, resolveAliases, search, setBlobContentID, setFactory, tokenizeAliasField |
Methods inherited from class opendap.dap.DStructure |
---|
deserialize, elementCount, externalize, getTypeName, getVar, printDecl, printVal |
Methods inherited from class opendap.dap.DConstructor |
---|
addVariable, someChildHasAttributes |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ServerDDS()
protected ServerDDS(java.lang.String n)
Server DDS
with the given dataset name.
n
- the dataset namepublic ServerDDS(BaseTypeFactory factory)
ServerDDS
with the given
BaseTypeFactory
. This will be used for OPeNDAP servers
which need to construct subclasses of the various
BaseType
objects to hold additional server-side
information.
factory
- the server BaseTypeFactory
object.public ServerDDS(java.lang.String n, BaseTypeFactory factory)
ServerDDS
with the given dataset name
and BaseTypeFactory
. This will be used for OPeNDAP 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 ServerDDS(java.lang.String n, BaseTypeFactory factory, java.lang.String schema)
DDS
with the given dataset name and
BaseTypeFactory
. This will be used for OPeNDAP 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.schema
- the URL where the parser can find an instance of the
OPeNDAP namespace schema.Method Detail |
---|
public java.lang.Object clone()
ServerDDS
. A deep copy is
performed on this object and those it contains.
clone
in class DDS
public void setDatasetFilename(java.lang.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 java.lang.String getDatasetFilename()
setDatasetFilename(String)
public void printConstrained(java.io.PrintWriter os)
DDS
on the given
PrintWriter
.
os
- the PrintWriter
to use for output.public final void printConstrained(java.io.OutputStream os)
DDS
on the given
OutputStream
.
os
- the OutputStream
to use for output.DDS.print(PrintWriter)
public final void printConstrainedXML(java.io.OutputStream os)
DDS
on the given
OutputStream
.
os
- the OutputStream
to use for output.DDS.print(PrintWriter)
This class/method is associated with pre-release version of the DDX API. It is experimental and is subject to (significant) change.
public void printConstrainedXML(java.io.PrintWriter pw)
DDS
on the given
PrintWriter
.
pw
- the PrintWriter
to use for output.This class/method is associated with pre-release version of the DDX API. It is experimental and is subject to (significant) change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |