|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.dods.Adapter
visad.data.dods.VariableAdapter
visad.data.dods.StringVariableAdapter
Provides support for adapting DODS DString variables to the
VisAD data-import context.
Instances are immutable.
| Method Summary | |
DataImpl |
data(DString var,
boolean copy)
Returns the VisAD DataImpl corresponding to a DODS DString. |
MathType |
getMathType()
Returns the VisAD MathType of this instance. |
static StringVariableAdapter |
stringVariableAdapter(DString var,
DAS das)
Returns an instance of this class corresponding to a DODS DString. |
| Methods inherited from class visad.data.dods.VariableAdapter |
data, data, data, data, data, data, data, data, data, data, data, data, data, data, getRepresentationalSets, mathType |
| Methods inherited from class visad.data.dods.Adapter |
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static StringVariableAdapter stringVariableAdapter(DString var,
DAS das)
throws VisADException
DString.
var - The DODS variable. Only the DODS metadata is
used: the variable needn't have any actual data.das - The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException - VisAD failure.public MathType getMathType()
MathType of this instance.
getMathType in class VariableAdapter
public DataImpl data(DString var,
boolean copy)
throws VisADException
DataImpl corresponding to a DODS DString.
data in class VariableAdaptervar - The DODS variable to have the corresponding
VisAD data object returned. The variable
must be compatible with the variable used to
construct this instance.copy - If true, then data values are copied.
Text. The
VisAD MathType of the data object will
be based on the DODS variable used during
construction of this instance.
VisADException - VisAD failure. Possibly the variable wasn't
compatible with the variable used to construct
this instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||