opendap.servers.ascii
Interface toASCII

All Known Implementing Classes:
asciiArray, asciiByte, asciiF32, asciiF64, asciiGrid, asciiI16, asciiI32, 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

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

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

toASCIIFlatName

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