visad.data.dods
Class VectorAdapterFactory
- java.lang.Object
-
- visad.data.dods.VectorAdapterFactory
-
public class VectorAdapterFactory extends java.lang.ObjectProvides support for creating adapters that bridge between DODS primitive vectors 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 BaseTypeVectorAdapterbaseTypeVectorAdapter(dods.dap.BaseTypePrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSBaseTypePrimitiveVector.BooleanVectorAdapterbooleanVectorAdapter(dods.dap.BooleanPrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSBooleanPrimitiveVector.ByteVectorAdapterbyteVectorAdapter(dods.dap.BytePrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSBytePrimitiveVector.Float32VectorAdapterfloat32VectorAdapter(dods.dap.Float32PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSFloat32PrimitiveVector.Float64VectorAdapterfloat64VectorAdapter(dods.dap.Float64PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSFloat64PrimitiveVector.Int16VectorAdapterint16VectorAdapter(dods.dap.Int16PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSInt16PrimitiveVector.Int32VectorAdapterint32VectorAdapter(dods.dap.Int32PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSInt32PrimitiveVector.UInt16VectorAdapteruInt16VectorAdapter(dods.dap.UInt16PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSUInt16PrimitiveVector.UInt32VectorAdapteruInt32VectorAdapter(dods.dap.UInt32PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODSUInt32PrimitiveVector.VectorAdaptervectorAdapter(dods.dap.PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory)Returns the adapter corresponding to a DODS primitive vector.static VectorAdapterFactoryvectorAdapterFactory()Returns an instance of this class.
-
-
-
Method Detail
-
vectorAdapterFactory
public static VectorAdapterFactory vectorAdapterFactory()
Returns an instance of this class.- Returns:
- An instance of this class.
-
vectorAdapter
public VectorAdapter vectorAdapter(dods.dap.PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODS primitive vector.- Parameters:
vector- A DODS primitive vector.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
booleanVectorAdapter
public BooleanVectorAdapter booleanVectorAdapter(dods.dap.BooleanPrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSBooleanPrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
byteVectorAdapter
public ByteVectorAdapter byteVectorAdapter(dods.dap.BytePrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSBytePrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
uInt16VectorAdapter
public UInt16VectorAdapter uInt16VectorAdapter(dods.dap.UInt16PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSUInt16PrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
int16VectorAdapter
public Int16VectorAdapter int16VectorAdapter(dods.dap.Int16PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSInt16PrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
uInt32VectorAdapter
public UInt32VectorAdapter uInt32VectorAdapter(dods.dap.UInt32PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSUInt32PrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
int32VectorAdapter
public Int32VectorAdapter int32VectorAdapter(dods.dap.Int32PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSInt32PrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
float32VectorAdapter
public Float32VectorAdapter float32VectorAdapter(dods.dap.Float32PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSFloat32PrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
float64VectorAdapter
public Float64VectorAdapter float64VectorAdapter(dods.dap.Float64PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSFloat64PrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- Returns:
- The adapter corresponding to the DODS primitive vector.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
baseTypeVectorAdapter
public BaseTypeVectorAdapter baseTypeVectorAdapter(dods.dap.BaseTypePrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
Returns the adapter corresponding to a DODSBaseTypePrimitiveVector.- Parameters:
vector- A DODS primitive vector of the appropriate type.das- The DODS DAS in which the attribute table for the DODS vector is embedded.factory- A factory for creating adapters of DODS variables.- 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