Package opendap.dap
Class DUInt16
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.BaseType
-
- opendap.dap.DPrimitive
-
- opendap.dap.DInt16
-
- opendap.dap.DUInt16
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ClientIO
public class DUInt16 extends DInt16
Holds a OPeNDAPUInt16
value.- See Also:
BaseType
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class opendap.dap.DAPNode
DAPNode.CloneMap
-
-
Field Summary
-
Fields inherited from class opendap.dap.DAPNode
_nameClear, _nameEncoded, log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTypeName()
Returns the OPeNDAP type name of the class instance as aString
.PrimitiveVector
newPrimitiveVector()
Constructs a newUInt16PrimitiveVector
.void
printVal(PrintWriter os, String space, boolean print_decl_p)
Prints the value of the variable, with its declaration.-
Methods inherited from class opendap.dap.DInt16
deserialize, externalize, getValue, 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, printAttributes, printAttributes, printAttributes, printAttributes, printConstraint, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, printXML, setClearName
-
Methods inherited from class opendap.dap.DAPNode
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProject, setProjected
-
-
-
-
Constructor Detail
-
DUInt16
public DUInt16()
Constructs a newDUInt16
.
-
DUInt16
public DUInt16(String n)
Constructs a newDUInt16
with namen
.- Parameters:
n
- the name of the variable.
-
-
Method Detail
-
newPrimitiveVector
public PrimitiveVector newPrimitiveVector()
Constructs a newUInt16PrimitiveVector
.- Overrides:
newPrimitiveVector
in classDInt16
- Returns:
- a new
UInt16PrimitiveVector
.
-
getTypeName
public String getTypeName()
Returns the OPeNDAP type name of the class instance as aString
.- Overrides:
getTypeName
in classDInt16
- Returns:
- the OPeNDAP type name of the class instance as a
String
.
-
printVal
public void printVal(PrintWriter os, String space, boolean print_decl_p)
Prints the value of the variable, with its declaration. This function is primarily intended for debugging OPeNDAP applications and text-based clients such as geturl.- Overrides:
printVal
in classDInt16
- Parameters:
os
- thePrintWriter
on which to print the value.space
- this value is passed to theprintDecl
method, and controls the leading spaces of the output.print_decl_p
- a boolean value controlling whether the variable declaration is printed as well as the value.- See Also:
BaseType.printVal(PrintWriter, String, boolean)
-
-