public class StringVariableAdapter extends VariableAdapter
DString
variables to the
VisAD data-import context.
Instances are immutable.
Modifier and Type | Method and Description |
---|---|
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 . |
data, data, data, data, data, data, data, data, data, data, data, data, data, data, getRepresentationalSets, mathType
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName
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.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.