public class BaseTypeVectorAdapter extends VectorAdapter
BaseTypePrimitiveVector to the
VisAD data-import context.
Instances are immutable.
| Modifier | Constructor and Description |
|---|---|
protected |
BaseTypeVectorAdapter(dods.dap.BaseTypePrimitiveVector vector,
dods.dap.DAS das,
VariableAdapterFactory factory)
Constructs from a DODS vector and a factory for creating DODS variable
adapters.
|
| Modifier and Type | Method and Description |
|---|---|
static BaseTypeVectorAdapter |
baseTypeVectorAdapter(dods.dap.BaseTypePrimitiveVector vector,
dods.dap.DAS das,
VariableAdapterFactory factory)
Returns an instance of this class corresponding to a DODS vector and a
factory for creating DODS variable adapters.
|
void |
setField(dods.dap.BaseTypePrimitiveVector vector,
FieldImpl field,
boolean copy)
Sets the range of a compatible VisAD
Field. |
getMathType, getRepresentationalSets, getVariableAdapter, griddedSet, isFlat, setField, setField, setField, setField, setField, setField, setField, setField, setFieldattributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarNameprotected BaseTypeVectorAdapter(dods.dap.BaseTypePrimitiveVector vector,
dods.dap.DAS das,
VariableAdapterFactory factory)
throws VisADException,
RemoteException
vector - A DODS vector to be adapted.das - The DODS DAS in which the attribute
table for the DODS vector is embedded.factory - A factory for creating adapters of DODS
variables.VisADException - VisAD failure.RemoteException - Java RMI failure.public static BaseTypeVectorAdapter baseTypeVectorAdapter(dods.dap.BaseTypePrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, RemoteException
vector - A DODS vector to be adapted.das - The DODS DAS in which the attribute
table for the DODS vector is embedded.factory - A factory for creating adapters of DODS
variables.VisADException - VisAD failure.RemoteException - Java RMI failure.public void setField(dods.dap.BaseTypePrimitiveVector vector,
FieldImpl field,
boolean copy)
throws VisADException,
RemoteException
Field. The range values are
taken from a DODS primitive vector whose metadata must be compatible with
the metadata of the primitive vector used during construction of this
instance.setField in class VectorAdaptervector - A DODS primitive vector whose data values are
to be used to set the range of the VisAD field.field - A VisAD field to have its range values set.copy - If true, then range values are copied from the
primitive vector.VisADException - VisAD failure.RemoteException - Java RMI failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.