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.SDArrayHolds a OPeNDAP ServerArrayvalue.- See Also:
BaseType, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description test_SDArray()Constructs a newtest_SDArray.test_SDArray(String n)Constructs a newtest_SDArraywith namen.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcacheShape()intgetCachedShape(int dim)booleanread(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
-
-
-
-
Constructor Detail
-
test_SDArray
public test_SDArray()
Constructs a newtest_SDArray.
-
test_SDArray
public test_SDArray(String n)
Constructs a newtest_SDArraywith namen.- Parameters:
n- the name of the variable.
-
-
Method Detail
-
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:
readin interfaceopendap.servers.ServerMethods- Specified by:
readin classopendap.servers.SDArray- Parameters:
datasetName- String identifying the file or other data store from which to read a vaue for this variable.specialO- ThisObjectis 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 anull.- Returns:
trueif more data remains to be read, otherwisefalse. This is an abtsract method that must be implemented as part of the installation/localization of a OPeNDAP server.- Throws:
IOExceptionEOFExceptionopendap.dap.NoSuchVariableException
-
-