|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.dods.Adapter visad.data.dods.VariableAdapter visad.data.dods.StringVariableAdapter
public class StringVariableAdapter
Provides support for adapting DODS DString
variables to the
VisAD data-import context.
Instances are immutable.
Method Summary | |
---|---|
DataImpl |
data(dods.dap.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(dods.dap.DString var,
dods.dap.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(dods.dap.DString var, dods.dap.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(dods.dap.DString var, boolean copy) throws VisADException
DataImpl
corresponding to a DODS DString
.
data
in class VariableAdapter
var
- 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 |