|
|||||||||
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.ListVariableAdapter
public class ListVariableAdapter
Provides support for adapting a DODS DList
variable to the
VisAD data-import context.
Instances are immutable.
Method Summary | |
---|---|
DataImpl |
data(DList list,
boolean copy)
Returns the VisAD DataImpl corresponding to a DODS DList . |
MathType |
getMathType()
Returns the VisAD MathType of this instance. |
SimpleSet[] |
getRepresentationalSets(boolean copy)
Returns the VisAD Set s that will be used to represent this
instances data values in the range of a VisAD FlatField . |
static ListVariableAdapter |
listVariableAdapter(DList list,
DAS das,
VariableAdapterFactory factory)
Returns an instance of this class corresponding to a DODS DList . |
Methods inherited from class visad.data.dods.VariableAdapter |
---|
data, data, data, data, data, data, data, data, data, data, data, data, data, data, 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 ListVariableAdapter listVariableAdapter(DList list, DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
DList
.
list
- 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.
VisADException
- VisAD failure.
java.rmi.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(DList list, boolean copy) throws VisADException, java.rmi.RemoteException
DataImpl
corresponding to a DODS DList
.
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 the data values are copied.
FileFlatField
FlatField
, or
FieldImpl
.
VisADException
- VisAD failure. Possibly the variable wasn't
compatible with the variable used to construct
this instance.
java.rmi.RemoteException
- Java RMI failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |