dods.servers.ascii
Interface toASCII

All Known Implementing Classes:
asciiArray, asciiBool, asciiByte, asciiF32, asciiF64, asciiGrid, asciiI16, asciiI32, asciiList, asciiSeq, asciiString, asciiStructure, asciiUI16, asciiUI32, asciiURL

public interface toASCII


Method Summary
 void toASCII(java.io.PrintWriter pw, boolean addName, java.lang.String rootName, boolean newLine)
          Returns a string representation of the variables value.
 java.lang.String toASCIIAddRootName(java.io.PrintWriter pw, boolean addName, java.lang.String rootName)
           
 java.lang.String toASCIIFlatName(java.lang.String rootName)
           
 

Method Detail

toASCII

public void toASCII(java.io.PrintWriter pw,
                    boolean addName,
                    java.lang.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.


toASCIIAddRootName

public java.lang.String toASCIIAddRootName(java.io.PrintWriter pw,
                                           boolean addName,
                                           java.lang.String rootName)

toASCIIFlatName

public java.lang.String toASCIIFlatName(java.lang.String rootName)