opendap.servers.www
Class wwwString

java.lang.Object
  extended by opendap.dap.BaseType
      extended by opendap.dap.DString
          extended by opendap.servers.www.wwwString
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ClientIO, BrowserForm

public class wwwString
extends DString
implements BrowserForm

See Also:
Serialized Form

Constructor Summary
wwwString()
          Constructs a new wwwString.
wwwString(java.lang.String n)
          Constructs a new wwwString with name n.
 
Method Summary
 void printBrowserForm(java.io.PrintWriter pw, DAS das)
          Returns an string representation of the variables value.
 
Methods inherited from class opendap.dap.DString
deserialize, externalize, getTypeName, getValue, printVal, 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, newPrimitiveVector, 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

wwwString

public wwwString()
Constructs a new wwwString.


wwwString

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

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

printBrowserForm

public void printBrowserForm(java.io.PrintWriter pw,
                             DAS das)
Description copied from interface: BrowserForm
Returns an 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:
printBrowserForm in interface BrowserForm