opendap.servlet.ascii
Class asciiUI32

java.lang.Object
  extended by opendap.dap.DAPNode
      extended by opendap.dap.BaseType
          extended by opendap.dap.DInt32
              extended by opendap.dap.DUInt32
                  extended by opendap.servlet.ascii.asciiUI32
All Implemented Interfaces:
Serializable, Cloneable, ClientIO, toASCII

public class asciiUI32
extends DUInt32
implements toASCII

See Also:
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
_name, _nameEncoded
 
Constructor Summary
asciiUI32()
          Constructs a new asciiUI32.
asciiUI32(String n)
          Constructs a new asciiUI32 with name n.
 
Method Summary
 void toASCII(PrintWriter pw, boolean addName, String rootName, boolean newLine)
          Returns a string representation of the variables value.
 String toASCIIAddRootName(PrintWriter pw, boolean addName, String rootName)
           
 String toASCIIFlatName(String rootName)
           
 
Methods inherited from class opendap.dap.DUInt32
getTypeName, newPrimitiveVector, printVal
 
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, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

asciiUI32

public asciiUI32()
Constructs a new asciiUI32.


asciiUI32

public asciiUI32(String n)
Constructs a new asciiUI32 with name n.

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

toASCII

public void toASCII(PrintWriter pw,
                    boolean addName,
                    String rootName,
                    boolean newLine)
Returns a string representation of the variables value. This is really foreshadowing functionality for Server types, but as it may come in useful for clients it is added here. Simple types (example: DFloat32) will return a single value. DConstuctor and DVector types will be flattened. DStrings and DURL's will have double quotes around them.

Specified by:
toASCII in interface toASCII
Parameters:
addName - is a flag indicating if the variable name should appear at the begining of the returned string.

toASCIIAddRootName

public String toASCIIAddRootName(PrintWriter pw,
                                 boolean addName,
                                 String rootName)
Specified by:
toASCIIAddRootName in interface toASCII

toASCIIFlatName

public String toASCIIFlatName(String rootName)
Specified by:
toASCIIFlatName in interface toASCII


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.