dods.servers.test
Class test_SDUInt16

java.lang.Object
  extended bydods.dap.BaseType
      extended bydods.dap.DInt16
          extended bydods.dap.DUInt16
              extended bydods.dap.Server.SDUInt16
                  extended bydods.servers.test.test_SDUInt16
All Implemented Interfaces:
ClientIO, java.lang.Cloneable, ExprParserConstants, RelOps, ServerMethods

public class test_SDUInt16
extends SDUInt16

Holds a DODS Server UInt16 value.

Version:
$Revision: 1.2 $
Author:
ndp
See Also:
BaseType

Field Summary
 
Fields inherited from interface dods.dap.parser.ExprParserConstants
AMPERSAND, ASTERISK, COLON, COMMA, DEFAULT, EOF, EQUAL, EXPONENT, FLOAT, GREATER, GREATER_EQL, ID, INT, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, MANTISSA, NOT_EQUAL, QUOTED_STR, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, STR, tokenImage, UNQUOTED_STR, UNTERM_QUOTE
 
Constructor Summary
test_SDUInt16()
          Constructs a new test_SDUInt16.
test_SDUInt16(java.lang.String n)
          Constructs a new test_SDUInt16 with name n.
 
Method Summary
 boolean read(java.lang.String datasetName, java.lang.Object specialO)
          Read a value from the named dataset for this variable.
 
Methods inherited from class dods.dap.Server.SDUInt16
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.DUInt16
getTypeName, newPrimitiveVector
 
Methods inherited from class dods.dap.DInt16
deserialize, externalize, getValue, setValue
 
Methods inherited from class dods.dap.BaseType
checkSemantics, checkSemantics, clone, elementCount, elementCount, getLongName, getName, getParent, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

test_SDUInt16

public test_SDUInt16()
Constructs a new test_SDUInt16.


test_SDUInt16

public test_SDUInt16(java.lang.String n)
Constructs a new test_SDUInt16 with name n.

Parameters:
n - the name of the variable.
Method Detail

read

public boolean read(java.lang.String datasetName,
                    java.lang.Object specialO)
             throws NoSuchVariableException,
                    java.io.IOException,
                    java.io.EOFException
Read a value from the named dataset for this variable.

Specified by:
read in interface ServerMethods
Specified by:
read in class SDUInt16
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:
java.io.IOException
java.io.EOFException
NoSuchVariableException