Package opendap.servlet.ascii
Class asciiF32
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.BaseType
-
- opendap.dap.DPrimitive
-
- opendap.dap.DFloat32
-
- opendap.servlet.ascii.asciiF32
-
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,toASCII
public class asciiF32 extends opendap.dap.DFloat32 implements toASCII
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtoASCII(PrintWriter pw, boolean addName, String rootName, boolean newLine)Returns a string representation of the variables value.StringtoASCIIAddRootName(PrintWriter pw, boolean addName, String rootName)StringtoASCIIFlatName(String rootName)-
Methods inherited from class opendap.dap.DFloat32
deserialize, externalize, getTypeName, getValue, newPrimitiveVector, printVal, 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
-
-
-
-
Constructor Detail
-
asciiF32
public asciiF32()
Constructs a newasciiF32.
-
asciiF32
public asciiF32(String n)
Constructs a newasciiF32with namen.- 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.
-
toASCIIAddRootName
public String toASCIIAddRootName(PrintWriter pw, boolean addName, String rootName)
- Specified by:
toASCIIAddRootNamein interfacetoASCII
-
toASCIIFlatName
public String toASCIIFlatName(String rootName)
- Specified by:
toASCIIFlatNamein interfacetoASCII
-
-