opendap.servers.test
Class test_SDFloat64

java.lang.Object
  extended by opendap.dap.BaseType
      extended by opendap.dap.DFloat64
          extended by opendap.dap.Server.SDFloat64
              extended by opendap.servers.test.test_SDFloat64
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ClientIO, ExprParserConstants, RelOps, ServerMethods

public class test_SDFloat64
extends SDFloat64

Holds a OPeNDAP Server Float64 value.

Version:
$Revision: 23881 $
Author:
ndp
See Also:
BaseType, Serialized Form

Field Summary
 
Fields inherited from interface opendap.dap.parser.ExprParserConstants
AMPERSAND, COLON, COMMA, DEFAULT, EOF, EQUAL, GREATER, GREATER_EQL, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, NOT_EQUAL, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, tokenImage, WORD
 
Constructor Summary
test_SDFloat64()
          Constructs a new test_SDFloat64.
test_SDFloat64(java.lang.String n)
          Constructs a new test_SDFloat64 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.
static void resetCount()
           
 
Methods inherited from class opendap.dap.Server.SDFloat64
equal, greater_eql, greater, isProject, isRead, isSynthesized, less_eql, less, not_equal, printDecl, printVal, printXML, regexp, serialize, setProject, setProject, setRead, setSynthesized
 
Methods inherited from class opendap.dap.DFloat64
deserialize, externalize, getTypeName, getValue, newPrimitiveVector, setValue
 
Methods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, checkSemantics, clone, delAttribute, delAttribute, elementCount, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getClearName, getLongName, getName, getParent, hasAttributes, printAttributes, printAttributes, printAttributes, printAttributes, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearName, setName, setParent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

test_SDFloat64

public test_SDFloat64()
Constructs a new test_SDFloat64.


test_SDFloat64

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

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

resetCount

public static void resetCount()

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 SDFloat64
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 OPeNDAP server.
Throws:
java.io.IOException
java.io.EOFException
NoSuchVariableException - When a variable can't be found.