Package opendap.dts

Class test_SDArray

java.lang.Object
opendap.dap.DAPNode
opendap.dap.BaseType
opendap.dap.DVector
opendap.dap.DArray
opendap.servers.SDArray
opendap.dts.test_SDArray
All Implemented Interfaces:
Serializable, Cloneable, opendap.dap.ClientIO, opendap.servers.RelOps, opendap.servers.ServerArrayMethods, opendap.servers.ServerMethods

public class test_SDArray extends opendap.servers.SDArray
Holds a OPeNDAP Server Array value.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class opendap.dap.DAPNode

    opendap.dap.DAPNode.CloneMap
  • Field Summary

    Fields inherited from class opendap.dap.DArray

    dimVector

    Fields inherited from class opendap.dap.DAPNode

    _nameClear, _nameEncoded, log
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new test_SDArray.
    Constructs a new test_SDArray with name n.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
    getCachedShape(int dim)
     
    boolean
    read(String datasetName, Object specialO)
    Read a value from the named dataset for this variable.

    Methods inherited from class opendap.servers.SDArray

    appendDim, appendDim, equal, getStart, getStop, getStride, greater, greater_eql, isRead, isSynthesized, less, less_eql, not_equal, printDecl, printVal, printXML, regexp, serialize, setProject, setProjection, setRead, setSynthesized

    Methods inherited from class opendap.dap.DArray

    checkSemantics, cloneDAG, getDimension, getDimensions, getFirstDimension, getTypeName, numDimensions, printAsMapXML, printConstraint, squeeze

    Methods inherited from class opendap.dap.DVector

    addVariable, deserialize, externalize, getContainerVar, getLength, getPrimitiveVector, setContainerVar, setLength

    Methods inherited from class opendap.dap.BaseType

    addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearName

    Methods inherited from class opendap.dap.DAPNode

    clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProjected

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface opendap.servers.ServerMethods

    isProject, setProject
  • Constructor Details

    • test_SDArray

      public test_SDArray()
      Constructs a new test_SDArray.
    • test_SDArray

      public test_SDArray(String n)
      Constructs a new test_SDArray with name n.
      Parameters:
      n - the name of the variable.
  • Method Details

    • cacheShape

      public void cacheShape()
    • getCachedShape

      public int getCachedShape(int dim)
    • read

      public boolean read(String datasetName, Object specialO) throws opendap.dap.NoSuchVariableException, IOException, EOFException
      Read a value from the named dataset for this variable.
      Specified by:
      read in interface opendap.servers.ServerMethods
      Specified by:
      read in class opendap.servers.SDArray
      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:
      IOException
      EOFException
      opendap.dap.NoSuchVariableException