| 
 | ||||||||||
| 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(dods.dap.DArray var,
                     dods.dap.DAS das)Returns the adapter corresponding to a DODS DArray. | 
|  BooleanVariableAdapter | booleanVariableAdapter(dods.dap.DBoolean var,
                       dods.dap.DAS das)Returns the adapter corresponding to a DODS DBoolean. | 
|  ByteVariableAdapter | byteVariableAdapter(dods.dap.DByte var,
                    dods.dap.DAS das)Returns the adapter corresponding to a DODS DByte. | 
|  Float32VariableAdapter | float32VariableAdapter(dods.dap.DFloat32 var,
                       dods.dap.DAS das)Returns the adapter corresponding to a DODS DFloat32. | 
|  Float64VariableAdapter | float64VariableAdapter(dods.dap.DFloat64 var,
                       dods.dap.DAS das)Returns the adapter corresponding to a DODS DFloat64. | 
|  GridVariableAdapter | gridVariableAdapter(dods.dap.DGrid var,
                    dods.dap.DAS das)Returns the adapter corresponding to a DODS DGrid. | 
|  GridVariableMapAdapter | gridVariableMapAdapter(dods.dap.DArray array,
                       dods.dap.DAS das)Returns the adapter corresponding to the coordinate mapping- vectors of a DODS DGrid. | 
|  Int16VariableAdapter | int16VariableAdapter(dods.dap.DInt16 var,
                     dods.dap.DAS das)Returns the adapter corresponding to a DODS DInt16. | 
|  Int32VariableAdapter | int32VariableAdapter(dods.dap.DInt32 var,
                     dods.dap.DAS das)Returns the adapter corresponding to a DODS DInt32. | 
|  ListVariableAdapter | listVariableAdapter(dods.dap.DList var,
                    dods.dap.DAS das)Returns the adapter corresponding to a DODS DList. | 
|  SequenceVariableAdapter | sequenceVariableAdapter(dods.dap.DSequence var,
                        dods.dap.DAS das)Returns the adapter corresponding to a DODS DSequence. | 
|  StringVariableAdapter | stringVariableAdapter(dods.dap.DString var,
                      dods.dap.DAS das)Returns the adapter corresponding to a DODS DString. | 
|  StructureVariableAdapter | structureVariableAdapter(dods.dap.DStructure var,
                         dods.dap.DAS das)Returns the adapter corresponding to a DODS DStructure. | 
|  UInt16VariableAdapter | uInt16VariableAdapter(dods.dap.DUInt16 var,
                      dods.dap.DAS das)Returns the adapter corresponding to a DODS DUInt16. | 
|  UInt32VariableAdapter | uInt32VariableAdapter(dods.dap.DUInt32 var,
                      dods.dap.DAS das)Returns the adapter corresponding to a DODS DUInt32. | 
|  VariableAdapter | variableAdapter(dods.dap.BaseType var,
                dods.dap.DAS das)Returns the adapter corresponding to a DODS variable. | 
| static VariableAdapterFactory | variableAdapterFactory()Returns an instance of this class. | 
|  VectorAdapter | vectorAdapter(dods.dap.PrimitiveVector vector,
              dods.dap.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(dods.dap.BaseType var,
                                       dods.dap.DAS das)
                                throws BadFormException,
                                       VisADException,
                                       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.
RemoteException - Java RMI failure.
public StringVariableAdapter stringVariableAdapter(dods.dap.DString var,
                                                   dods.dap.DAS das)
                                            throws VisADException,
                                                   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.
RemoteException - Java RMI failure.
public BooleanVariableAdapter booleanVariableAdapter(dods.dap.DBoolean var,
                                                     dods.dap.DAS das)
                                              throws VisADException,
                                                     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.
RemoteException - Java RMI failure.
public ByteVariableAdapter byteVariableAdapter(dods.dap.DByte var,
                                               dods.dap.DAS das)
                                        throws VisADException,
                                               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.
RemoteException - Java RMI failure.
public UInt16VariableAdapter uInt16VariableAdapter(dods.dap.DUInt16 var,
                                                   dods.dap.DAS das)
                                            throws VisADException,
                                                   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.
RemoteException - Java RMI failure.
public Int16VariableAdapter int16VariableAdapter(dods.dap.DInt16 var,
                                                 dods.dap.DAS das)
                                          throws VisADException,
                                                 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.
RemoteException - Java RMI failure.
public UInt32VariableAdapter uInt32VariableAdapter(dods.dap.DUInt32 var,
                                                   dods.dap.DAS das)
                                            throws VisADException,
                                                   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.
RemoteException - Java RMI failure.
public Int32VariableAdapter int32VariableAdapter(dods.dap.DInt32 var,
                                                 dods.dap.DAS das)
                                          throws VisADException,
                                                 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.
RemoteException - Java RMI failure.
public Float32VariableAdapter float32VariableAdapter(dods.dap.DFloat32 var,
                                                     dods.dap.DAS das)
                                              throws VisADException,
                                                     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.
RemoteException - Java RMI failure.
public Float64VariableAdapter float64VariableAdapter(dods.dap.DFloat64 var,
                                                     dods.dap.DAS das)
                                              throws VisADException,
                                                     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.
RemoteException - Java RMI failure.
public StructureVariableAdapter structureVariableAdapter(dods.dap.DStructure var,
                                                         dods.dap.DAS das)
                                                  throws VisADException,
                                                         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.
RemoteException - Java RMI failure.
public ListVariableAdapter listVariableAdapter(dods.dap.DList var,
                                               dods.dap.DAS das)
                                        throws VisADException,
                                               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.
RemoteException - Java RMI failure.
public SequenceVariableAdapter sequenceVariableAdapter(dods.dap.DSequence var,
                                                       dods.dap.DAS das)
                                                throws VisADException,
                                                       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.
RemoteException - Java RMI failure.
public ArrayVariableAdapter arrayVariableAdapter(dods.dap.DArray var,
                                                 dods.dap.DAS das)
                                          throws VisADException,
                                                 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.
RemoteException - Java RMI failure.
public GridVariableAdapter gridVariableAdapter(dods.dap.DGrid var,
                                               dods.dap.DAS das)
                                        throws VisADException,
                                               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.
RemoteException - Java RMI failure.
public GridVariableMapAdapter gridVariableMapAdapter(dods.dap.DArray array,
                                                     dods.dap.DAS das)
                                              throws VisADException,
                                                     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.
RemoteException - Java RMI failure.
public VectorAdapter vectorAdapter(dods.dap.PrimitiveVector vector,
                                   dods.dap.DAS das)
                            throws VisADException,
                                   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.
RemoteException - Java RMI failure.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||