dods.servers.test
Class test_SDStructure
java.lang.Object
dods.dap.BaseType
dods.dap.DConstructor
dods.dap.DStructure
dods.dap.Server.SDStructure
dods.servers.test.test_SDStructure
- All Implemented Interfaces:
- ClientIO, RelOps, ServerMethods, Cloneable
public class test_SDStructure
- extends SDStructure
Holds a DODS Server Structure
value.
- Version:
- $Revision: 1.3 $
- Author:
- ndp
- See Also:
BaseType
Method Summary |
boolean |
read(String datasetName,
Object specialO)
Read a value from the named dataset for this variable. |
Methods inherited from class dods.dap.Server.SDStructure |
equal, greater_eql, greater, isProject, isRead, isSynthesized, less_eql, less, not_equal, printDecl, printVal, regexp, serialize, setProject, setProject, setRead, setSynthesized |
Methods inherited from class dods.dap.BaseType |
checkSemantics, elementCount, getLongName, getName, getParent, newPrimitiveVector, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent |
test_SDStructure
public test_SDStructure()
- Constructs a new
test_SDStructure
.
test_SDStructure
public test_SDStructure(String n)
- Constructs a new
test_SDStructure
with name n
.
- Parameters:
n
- the name of the variable.
read
public boolean read(String datasetName,
Object specialO)
throws NoSuchVariableException,
IOException,
EOFException
- Read a value from the named dataset for this variable.
- Specified by:
read
in interface ServerMethods
- Specified by:
read
in class SDStructure
- Parameters:
datasetName
- String identifying the file or other data store
from which to read a vaue for this variable.specialO
- This Object
is a goody that is used by Server implementations
to deliver important, and as yet unknown, stuff to the read method. If you
don't need it, make it a null
.
- Returns:
true
if more data remains to be read, otherwise
false
. This is an abtsract method that must be implemented
as part of the installation/localization of a DODS server.
- Throws:
IOException
EOFException
NoSuchVariableException