public class ServerDDS extends DDS
DDS
,
CEEvaluator
,
Serialized FormDAPNode.CloneMap
vars
_nameClear, _nameEncoded, log
Modifier | Constructor and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
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.
|
addVariable, checkForAttributeNameConflict, checkSemantics, cloneDAG, delVariable, getBlobContentID, getDAS, getDDSText, getDDXText, getFactory, getVariable, getVariables, ingestDAS, normalize, numVariables, parse, parse, parseXML, parseXML, print, print, printDAS, printDAS, printXML, printXML, resolveAliases, search, setBlobContentID, setFactory, setURL, tokenizeAliasField
deserialize, elementCount, externalize, getTypeName, getVar, getVarCount, getVariableSet, printDecl, printVal
addVariable, someChildHasAttributes
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printConstraint, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, setClearName
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProject, setProjected
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.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)
public void printConstrainedXML(java.io.PrintWriter pw)
DDS
on the given
PrintWriter
.pw
- the PrintWriter
to use for output.