opendap.dap
Class DUInt32

java.lang.Object
  extended by opendap.dap.BaseType
      extended by opendap.dap.DInt32
          extended by opendap.dap.DUInt32
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ClientIO
Direct Known Subclasses:
asciiUI32, SDUInt32, wwwUI32

public class DUInt32
extends DInt32

Holds a OPeNDAP UInt32 value.

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

Constructor Summary
DUInt32()
          Constructs a new DUInt32.
DUInt32(java.lang.String n)
          Constructs a new DUInt32 with name n.
 
Method Summary
 java.lang.String getTypeName()
          Returns the OPeNDAP type name of the class instance as a String.
 PrimitiveVector newPrimitiveVector()
          Constructs a new UInt32PrimitiveVector.
 void printVal(java.io.PrintWriter os, java.lang.String space, boolean print_decl_p)
          Prints the value of the variable, with its declaration.
 
Methods inherited from class opendap.dap.DInt32
deserialize, externalize, getValue, 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, printDecl, printVal, printVal, printVal, printXML, 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

DUInt32

public DUInt32()
Constructs a new DUInt32.


DUInt32

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

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

newPrimitiveVector

public PrimitiveVector newPrimitiveVector()
Constructs a new UInt32PrimitiveVector.

Overrides:
newPrimitiveVector in class DInt32
Returns:
a new UInt32PrimitiveVector.

getTypeName

public java.lang.String getTypeName()
Returns the OPeNDAP type name of the class instance as a String.

Overrides:
getTypeName in class DInt32
Returns:
the OPeNDAP type name of the class instance as a String.

printVal

public void printVal(java.io.PrintWriter os,
                     java.lang.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 class DInt32
Parameters:
os - the PrintWriter on which to print the value.
space - this value is passed to the printDecl 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)