public class StructureVariableAdapter extends VariableAdapter
DStructure
variables to the
VisAD data-import context.
Instances are immutable.
Modifier and Type | Method and Description |
---|---|
DataImpl |
data(dods.dap.DStructure structure,
boolean copy)
Returns the VisAD
DataImpl corresponding to the values of a DODS
DStructure and the DODS variable used during construction of this
instance. |
MathType |
getMathType()
Returns the VisAD
MathType of this instance. |
SimpleSet[] |
getRepresentationalSets(boolean copy)
|
static StructureVariableAdapter |
structureVariableAdapter(dods.dap.DStructure structure,
dods.dap.DAS das,
VariableAdapterFactory factory)
Returns an instance of this class corresponding to a DODS
DStructure . |
data, data, data, data, data, data, data, data, data, data, data, data, data, data, mathType
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName
public static StructureVariableAdapter structureVariableAdapter(dods.dap.DStructure structure, dods.dap.DAS das, VariableAdapterFactory factory) throws BadFormException, VisADException, RemoteException
DStructure
.structure
- 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.factory
- A factory for creating variable adapters.BadFormException
- The DODS information is corrupt.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public MathType getMathType()
MathType
of this instance.getMathType
in class VariableAdapter
public SimpleSet[] getRepresentationalSets(boolean copy)
Set
s that will be used to represent this
instances data values in the range of a VisAD FlatField
.getRepresentationalSets
in class VariableAdapter
copy
- If true, then the array is cloned.public DataImpl data(dods.dap.DStructure structure, boolean copy) throws BadFormException, VisADException, RemoteException
DataImpl
corresponding to the values of a DODS
DStructure
and the DODS variable used during construction of this
instance.data
in class VariableAdapter
structure
- 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.null
if the construction
structure had no components.BadFormException
- The DODS variable is corrupt.VisADException
- VisAD failure. Possibly the variable wasn't
compatible with the variable used to construct
this instance.RemoteException
- Java RMI failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.