|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.dods.VariableAdapterFactory
public class VariableAdapterFactory
Provides support for creating adapters that bridge between DODS variables and the VisAD data-import context.
Instances are immutable.
Constructor Summary | |
---|---|
protected |
VariableAdapterFactory()
Constructs from nothing. |
Method Summary | |
---|---|
ArrayVariableAdapter |
arrayVariableAdapter(DArray var,
DAS das)
Returns the adapter corresponding to a DODS DArray . |
BooleanVariableAdapter |
booleanVariableAdapter(DBoolean var,
DAS das)
Returns the adapter corresponding to a DODS DBoolean . |
ByteVariableAdapter |
byteVariableAdapter(DByte var,
DAS das)
Returns the adapter corresponding to a DODS DByte . |
Float32VariableAdapter |
float32VariableAdapter(DFloat32 var,
DAS das)
Returns the adapter corresponding to a DODS DFloat32 . |
Float64VariableAdapter |
float64VariableAdapter(DFloat64 var,
DAS das)
Returns the adapter corresponding to a DODS DFloat64 . |
GridVariableAdapter |
gridVariableAdapter(DGrid var,
DAS das)
Returns the adapter corresponding to a DODS DGrid . |
GridVariableMapAdapter |
gridVariableMapAdapter(DArray array,
DAS das)
Returns the adapter corresponding to the coordinate mapping- vectors of a DODS DGrid . |
Int16VariableAdapter |
int16VariableAdapter(DInt16 var,
DAS das)
Returns the adapter corresponding to a DODS DInt16 . |
Int32VariableAdapter |
int32VariableAdapter(DInt32 var,
DAS das)
Returns the adapter corresponding to a DODS DInt32 . |
ListVariableAdapter |
listVariableAdapter(DList var,
DAS das)
Returns the adapter corresponding to a DODS DList . |
SequenceVariableAdapter |
sequenceVariableAdapter(DSequence var,
DAS das)
Returns the adapter corresponding to a DODS DSequence . |
StringVariableAdapter |
stringVariableAdapter(DString var,
DAS das)
Returns the adapter corresponding to a DODS DString . |
StructureVariableAdapter |
structureVariableAdapter(DStructure var,
DAS das)
Returns the adapter corresponding to a DODS DStructure . |
UInt16VariableAdapter |
uInt16VariableAdapter(DUInt16 var,
DAS das)
Returns the adapter corresponding to a DODS DUInt16 . |
UInt32VariableAdapter |
uInt32VariableAdapter(DUInt32 var,
DAS das)
Returns the adapter corresponding to a DODS DUInt32 . |
VariableAdapter |
variableAdapter(BaseType var,
DAS das)
Returns the adapter corresponding to a DODS variable. |
static VariableAdapterFactory |
variableAdapterFactory()
Returns an instance of this class. |
VectorAdapter |
vectorAdapter(PrimitiveVector vector,
DAS das)
Returns the adapter corresponding to a DODS PrimitiveVector . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected VariableAdapterFactory()
Method Detail |
---|
public static VariableAdapterFactory variableAdapterFactory()
public VariableAdapter variableAdapter(BaseType var, DAS das) throws BadFormException, VisADException, java.rmi.RemoteException
var
- A DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
BadFormException
- The DODS information is corrupt.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public StringVariableAdapter stringVariableAdapter(DString var, DAS das) throws VisADException, java.rmi.RemoteException
DString
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public BooleanVariableAdapter booleanVariableAdapter(DBoolean var, DAS das) throws VisADException, java.rmi.RemoteException
DBoolean
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public ByteVariableAdapter byteVariableAdapter(DByte var, DAS das) throws VisADException, java.rmi.RemoteException
DByte
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public UInt16VariableAdapter uInt16VariableAdapter(DUInt16 var, DAS das) throws VisADException, java.rmi.RemoteException
DUInt16
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Int16VariableAdapter int16VariableAdapter(DInt16 var, DAS das) throws VisADException, java.rmi.RemoteException
DInt16
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public UInt32VariableAdapter uInt32VariableAdapter(DUInt32 var, DAS das) throws VisADException, java.rmi.RemoteException
DUInt32
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Int32VariableAdapter int32VariableAdapter(DInt32 var, DAS das) throws VisADException, java.rmi.RemoteException
DInt32
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Float32VariableAdapter float32VariableAdapter(DFloat32 var, DAS das) throws VisADException, java.rmi.RemoteException
DFloat32
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Float64VariableAdapter float64VariableAdapter(DFloat64 var, DAS das) throws VisADException, java.rmi.RemoteException
DFloat64
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public StructureVariableAdapter structureVariableAdapter(DStructure var, DAS das) throws VisADException, java.rmi.RemoteException
DStructure
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public ListVariableAdapter listVariableAdapter(DList var, DAS das) throws VisADException, java.rmi.RemoteException
DList
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public SequenceVariableAdapter sequenceVariableAdapter(DSequence var, DAS das) throws VisADException, java.rmi.RemoteException
DSequence
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public ArrayVariableAdapter arrayVariableAdapter(DArray var, DAS das) throws VisADException, java.rmi.RemoteException
DArray
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public GridVariableAdapter gridVariableAdapter(DGrid var, DAS das) throws VisADException, java.rmi.RemoteException
DGrid
.
var
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public GridVariableMapAdapter gridVariableMapAdapter(DArray array, DAS das) throws VisADException, java.rmi.RemoteException
DGrid
.
array
- The coordinate mapping vectors of a DODS DGrid
.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public VectorAdapter vectorAdapter(PrimitiveVector vector, DAS das) throws VisADException, java.rmi.RemoteException
PrimitiveVector
.
vector
- An appropriate DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |