Package thredds.server.opendap
Class NcSDString
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.BaseType
-
- opendap.dap.DPrimitive
-
- opendap.dap.DString
-
- opendap.servers.SDString
-
- thredds.server.opendap.NcSDString
-
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,opendap.servers.parsers.ExprParserConstants,opendap.servers.RelOps,opendap.servers.ServerMethods,HasNetcdfVariable
public class NcSDString extends opendap.servers.SDString implements HasNetcdfVariable
Wraps a netcdf scalar or 1D char variable.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface opendap.servers.parsers.ExprParserConstants
AMPERSAND, COLON, COMMA, DEFAULT, EOF, EQUAL, FLOATCONST, FUNCTION, GREATER, GREATER_EQL, INTCONST, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, NOT_EQUAL, operatorImage, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, STRINGCONST, tokenImage, VAR, WORD
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ucar.nc2.VariablegetVariable()get the underlying proxybooleanread(String datasetName, Object specialO)Read the value (parameters are ignored).voidserialize(DataOutputStream sink, ucar.ma2.StructureData sdata, ucar.ma2.StructureMembers.Member m)voidsetData(ucar.ma2.Array data)reset the underlying proxy-
Methods inherited from class opendap.servers.SDString
equal, greater, greater_eql, isRead, isSynthesized, less, less_eql, not_equal, printDecl, printVal, printXML, regexp, serialize, setRead, setSynthesized
-
Methods inherited from class opendap.dap.DString
deserialize, externalize, getTypeName, getValue, printConstraint, setValue
-
Methods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, checkSemantics, cloneDAG, 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, setProject, setProjected
-
-
-
-
Method Detail
-
read
public boolean read(String datasetName, Object specialO) throws IOException
Read the value (parameters are ignored).- Specified by:
readin interfaceopendap.servers.ServerMethods- Specified by:
readin classopendap.servers.SDString- Throws:
IOException
-
setData
public void setData(ucar.ma2.Array data)
Description copied from interface:HasNetcdfVariablereset the underlying proxy- Specified by:
setDatain interfaceHasNetcdfVariable
-
getVariable
public ucar.nc2.Variable getVariable()
Description copied from interface:HasNetcdfVariableget the underlying proxy- Specified by:
getVariablein interfaceHasNetcdfVariable
-
serialize
public void serialize(DataOutputStream sink, ucar.ma2.StructureData sdata, ucar.ma2.StructureMembers.Member m) throws IOException
- Specified by:
serializein interfaceHasNetcdfVariable- Throws:
IOException
-
-