Documentation of 'visad.data.dods.VariableAdapterFactory' Java class
VariableAdapterFactory
visad.data.dods

Class VariableAdapterFactory



  • public class VariableAdapterFactory
    extends java.lang.Object
    Provides support for creating adapters that bridge between DODS variables and the VisAD data-import context.

    Instances are immutable.

    • 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 DODS DString.
        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 DODS DBoolean.
        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 DODS DByte.
        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 DODS DUInt16.
        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 DODS DInt16.
        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 DODS DUInt32.
        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 DODS DInt32.
        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 DODS DFloat32.
        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 DODS DFloat64.
        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 DODS DStructure.
        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 DODS DList.
        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 DODS DSequence.
        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 DODS DArray.
        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 DODS DGrid.
        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 DODS DGrid.
        Parameters:
        array - The coordinate mapping vectors of a DODS DGrid.
        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 DODS PrimitiveVector.
        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

You see the box below because you did not login.