Package opendap.dap

Class DUInt16

    • Constructor Detail

      • DUInt16

        public DUInt16()
        Constructs a new DUInt16.
      • DUInt16

        public DUInt16​(String n)
        Constructs a new DUInt16 with name n.
        Parameters:
        n - the name of the variable.
    • Method Detail

      • getTypeName

        public String getTypeName()
        Returns the OPeNDAP type name of the class instance as a String.
        Overrides:
        getTypeName in class DInt16
        Returns:
        the OPeNDAP type name of the class instance as a String.
      • printVal

        public void printVal​(PrintWriter os,
                             String space,
                             boolean print_decl_p)
        Prints the value of the variable, with its declaration. This function is primarily intended for debugging OPeNDAP applications and text-based clients such as geturl.
        Overrides:
        printVal in class DInt16
        Parameters:
        os - the PrintWriter on which to print the value.
        space - this value is passed to the printDecl method, and controls the leading spaces of the output.
        print_decl_p - a boolean value controlling whether the variable declaration is printed as well as the value.
        See Also:
        BaseType.printVal(PrintWriter, String, boolean)