ucar.nc2.dods
Class DODSAttribute

java.lang.Object
  extended by ucar.nc2.Attribute
      extended by ucar.nc2.dods.DODSAttribute

@Immutable
public class DODSAttribute
extends Attribute

Adapter for dods.dap.Attribute into a ucar.nc2.Attribute. Byte attributes are widened to short because DODS has Bytes as unsigned, but in Java they are signed.

Author:
caron
See Also:
Attribute

Constructor Summary
  DODSAttribute(String dodsName, Attribute att)
          constructor: adapter around dods.dap.Attribute
protected DODSAttribute(String dodsName, String val)
           
 
Method Summary
 
Methods inherited from class ucar.nc2.Attribute
equals, getDataType, getLength, getName, getNumericValue, getNumericValue, getStringValue, getStringValue, getValue, getValues, hashCode, isArray, isString, isUnsigned, setValues, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DODSAttribute

public DODSAttribute(String dodsName,
                     Attribute att)
constructor: adapter around dods.dap.Attribute

Parameters:
dodsName - the attribute name
att - the dods attribute

DODSAttribute

protected DODSAttribute(String dodsName,
                        String val)


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.