visad.data.dods
Class VariableAdapterFactory
- java.lang.Object
-
- visad.data.dods.VariableAdapterFactory
-
public class VariableAdapterFactory extends java.lang.ObjectProvides support for creating adapters that bridge between DODS variables and the VisAD data-import context.Instances are immutable.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ArrayVariableAdapterarrayVariableAdapter(dods.dap.DArray var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDArray.BooleanVariableAdapterbooleanVariableAdapter(dods.dap.DBoolean var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDBoolean.ByteVariableAdapterbyteVariableAdapter(dods.dap.DByte var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDByte.Float32VariableAdapterfloat32VariableAdapter(dods.dap.DFloat32 var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDFloat32.Float64VariableAdapterfloat64VariableAdapter(dods.dap.DFloat64 var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDFloat64.GridVariableAdaptergridVariableAdapter(dods.dap.DGrid var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDGrid.GridVariableMapAdaptergridVariableMapAdapter(dods.dap.DArray array, dods.dap.DAS das)Returns the adapter corresponding to the coordinate mapping- vectors of a DODSDGrid.Int16VariableAdapterint16VariableAdapter(dods.dap.DInt16 var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDInt16.Int32VariableAdapterint32VariableAdapter(dods.dap.DInt32 var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDInt32.ListVariableAdapterlistVariableAdapter(dods.dap.DList var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDList.SequenceVariableAdaptersequenceVariableAdapter(dods.dap.DSequence var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDSequence.StringVariableAdapterstringVariableAdapter(dods.dap.DString var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDString.StructureVariableAdapterstructureVariableAdapter(dods.dap.DStructure var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDStructure.UInt16VariableAdapteruInt16VariableAdapter(dods.dap.DUInt16 var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDUInt16.UInt32VariableAdapteruInt32VariableAdapter(dods.dap.DUInt32 var, dods.dap.DAS das)Returns the adapter corresponding to a DODSDUInt32.VariableAdaptervariableAdapter(dods.dap.BaseType var, dods.dap.DAS das)Returns the adapter corresponding to a DODS variable.static VariableAdapterFactoryvariableAdapterFactory()Returns an instance of this class.VectorAdaptervectorAdapter(dods.dap.PrimitiveVector vector, dods.dap.DAS das)Returns the adapter corresponding to a DODSPrimitiveVector.
-
-
-
Method Detail
-
variableAdapterFactory
public static VariableAdapterFactory variableAdapterFactory()
Returns an instance of this class.- Returns:
- An instance of this class.
-
variableAdapter
public VariableAdapter variableAdapter(dods.dap.BaseType var, dods.dap.DAS das) throws BadFormException, VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODS variable.- Parameters:
var- A DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
BadFormException- The DODS information is corrupt.VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
stringVariableAdapter
public StringVariableAdapter stringVariableAdapter(dods.dap.DString var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDString.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
booleanVariableAdapter
public BooleanVariableAdapter booleanVariableAdapter(dods.dap.DBoolean var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDBoolean.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
byteVariableAdapter
public ByteVariableAdapter byteVariableAdapter(dods.dap.DByte var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDByte.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
uInt16VariableAdapter
public UInt16VariableAdapter uInt16VariableAdapter(dods.dap.DUInt16 var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDUInt16.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
int16VariableAdapter
public Int16VariableAdapter int16VariableAdapter(dods.dap.DInt16 var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDInt16.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
uInt32VariableAdapter
public UInt32VariableAdapter uInt32VariableAdapter(dods.dap.DUInt32 var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDUInt32.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
int32VariableAdapter
public Int32VariableAdapter int32VariableAdapter(dods.dap.DInt32 var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDInt32.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
float32VariableAdapter
public Float32VariableAdapter float32VariableAdapter(dods.dap.DFloat32 var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDFloat32.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
float64VariableAdapter
public Float64VariableAdapter float64VariableAdapter(dods.dap.DFloat64 var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDFloat64.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
structureVariableAdapter
public StructureVariableAdapter structureVariableAdapter(dods.dap.DStructure var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDStructure.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
listVariableAdapter
public ListVariableAdapter listVariableAdapter(dods.dap.DList var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDList.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
sequenceVariableAdapter
public SequenceVariableAdapter sequenceVariableAdapter(dods.dap.DSequence var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDSequence.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
arrayVariableAdapter
public ArrayVariableAdapter arrayVariableAdapter(dods.dap.DArray var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDArray.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
gridVariableAdapter
public GridVariableAdapter gridVariableAdapter(dods.dap.DGrid var, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSDGrid.- Parameters:
var- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS variable.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
gridVariableMapAdapter
public GridVariableMapAdapter gridVariableMapAdapter(dods.dap.DArray array, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to the coordinate mapping- vectors of a DODSDGrid.- Parameters:
array- The coordinate mapping vectors of a DODSDGrid.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the coordinate mapping-vectors of the DODS grid.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
vectorAdapter
public VectorAdapter vectorAdapter(dods.dap.PrimitiveVector vector, dods.dap.DAS das) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSPrimitiveVector.- Parameters:
vector- An appropriate DODS variable.das- The DODS DAS in which the attribute table for the DODS variable is embedded.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
-
DMelt 3.0 © DataMelt by jWork.ORG