Package opendap.servlet.ascii
Class asciiGrid
java.lang.Object
opendap.dap.DAPNode
opendap.dap.BaseType
opendap.dap.DConstructor
opendap.dap.DGrid
opendap.servlet.ascii.asciiGrid
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,toASCII
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class opendap.dap.DAPNode
opendap.dap.DAPNode.CloneMap -
Field Summary
Fields inherited from class opendap.dap.DGrid
ARRAY, arrayVar, MAPS, mapVarsFields inherited from class opendap.dap.DAPNode
_nameClear, _nameEncoded, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtoASCII(PrintWriter pw, boolean addName, String rootName, boolean newLine) Returns a string representation of the variables value.toASCIIAddRootName(PrintWriter pw, boolean addName, String rootName) toASCIIFlatName(String rootName) Methods inherited from class opendap.dap.DGrid
addVariable, checkSemantics, cloneDAG, deserialize, elementCount, externalize, getArray, getArrayDims, getTypeName, getVar, getVarCount, getVariable, getVariables, printDecl, printVal, printXML, projectedComponents, projectionYieldsGridMethods inherited from class opendap.dap.DConstructor
addVariable, someChildHasAttributesMethods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printConstraint, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearNameMethods inherited from class opendap.dap.DAPNode
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProject, setProjected
-
Constructor Details
-
asciiGrid
public asciiGrid()Constructs a newasciiGrid. -
asciiGrid
Constructs a newasciiGridwith namen.- Parameters:
n- the name of the variable.
-
-
Method Details
-
toASCII
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
- Specified by:
toASCIIAddRootNamein interfacetoASCII
-
toASCIIFlatName
- Specified by:
toASCIIFlatNamein interfacetoASCII
-