visad.data.dods
Class NumericAttributeAdapter
- java.lang.Object
-
- visad.data.dods.Adapter
-
- visad.data.dods.AttributeAdapter
-
- visad.data.dods.NumericAttributeAdapter
-
- Direct Known Subclasses:
- Float64AttributeAdapter, FloatAttributeAdapter
public abstract class NumericAttributeAdapter extends AttributeAdapter
Provides support for adapting DODS numeric attributes to the VisAD data-import context.Instances are immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataImpldata(boolean copy)Returns the VisAD data object corresponding to this instance.java.lang.StringgetAttributeName()Returns the name of the attribute used during construction of this instance.RealTypegetRealType()Returns the VisADRealTypeof this instance.
-
-
-
Method Detail
-
getRealType
public RealType getRealType()
Returns the VisADRealTypeof this instance.- Returns:
- The VisAD RealType of this instance.
-
getAttributeName
public java.lang.String getAttributeName()
Returns the name of the attribute used during construction of this instance.- Returns:
- The name of the attribute used during construction of this instance.
-
data
public DataImpl data(boolean copy)
Returns the VisAD data object corresponding to this instance.- Specified by:
datain classAttributeAdapter- Parameters:
copy- If true, then a copy is returned.- Returns:
- The VisAD data object corresponding to this instance.
-
-
DMelt 3.0 © DataMelt by jWork.ORG