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

Class VariableAdapter

    • Constructor Detail

      • VariableAdapter

        public VariableAdapter()
    • Method Detail

      • getMathType

        public abstract MathType getMathType()
        Returns the VisAD MathType of this instance.
        Returns:
        The MathType of this instance.
      • data

        public DataImpl data(dods.dap.BaseType baseType,
                             boolean copy)
                      throws BadFormException,
                             VisADException,
                             java.rmi.RemoteException
        Returns the VisAD DataImpl corresponding to the data of a DODS variable and the metaData of the DODS variable used during construction of this instance.
        Parameters:
        baseType - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction. The class of the object will depend upon the DODS variable used during construction.
        Throws:
        BadFormException - The DODS variable is corrupt.
        VisADException - VisAD failure. Possibly the variable wasn't compatible with the variable used to construct this instance.
        java.rmi.RemoteException - Java RMI failure.
      • data

        public DataImpl data(dods.dap.DString var,
                             boolean copy)
                      throws VisADException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
      • data

        public DataImpl data(dods.dap.DBoolean var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DByte var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DUInt16 var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DInt16 var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DUInt32 var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DInt32 var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DFloat32 var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DFloat64 var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DStructure var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DList var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DArray var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DGrid var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • data

        public DataImpl data(dods.dap.DSequence var,
                             boolean copy)
                      throws VisADException,
                             java.rmi.RemoteException
        Throws a VisADException. Override in subclasses where appropriate.
        Parameters:
        var - The DODS variable to have the corresponding VisAD data object returned. The variable must be compatible with the variable used to construct this instance.
        copy - If true, then data values are copied.
        Returns:
        A VisAD data object corresponding to the data of the DODS variable and the metadata of the DODS variable used during construction.
        Throws:
        VisADException - Don't know how to create a VisAD data object from the given DODS variable.
        java.rmi.RemoteException
      • getRepresentationalSets

        public SimpleSet[] getRepresentationalSets(boolean copy)
        Returns the default VisAD Sets that will be used to represent this instances data values in the range of a VisAD FlatField. Override this method in subclasses where appropriate.
        Parameters:
        copy - If true, then the array is cloned.
        Returns:
        The default VisAD Sets used to represent the data values in the range of a FlatField. Will never be null -- though an individual elements might be (e.g. for TextType objects).

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.