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

Class DataFactory



  • public class DataFactory
    extends java.lang.Object
    Provides support for creating adapters that bridge between DODS data objects 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
      DataImpl data(dods.dap.BaseType var, dods.dap.DAS das, boolean copy)
      Returns the VisAD data object corresponding to a DODS variable.
      DataImpl data(java.lang.String name, dods.dap.Attribute attribute, boolean copy)
      Returns the VisAD data object corresponding to a DODS attribute.
      static DataFactory dataFactory()
      Returns an instance of this class.
      static DataFactory dataFactory(AttributeAdapterFactory attributeFactory, VariableAdapterFactory variableFactory)
      Returns an instance of this class corresponding to adapter factories for DODS attributes and DODS variables.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • dataFactory

        public static DataFactory dataFactory()
        Returns an instance of this class.
        Returns:
        An instance of this class.
      • dataFactory

        public static DataFactory dataFactory(AttributeAdapterFactory attributeFactory,
                                              VariableAdapterFactory variableFactory)
        Returns an instance of this class corresponding to adapter factories for DODS attributes and DODS variables.
        Parameters:
        attributeFactory - An adapter factory for DODS attributes.
        variableFactory - An adapter factory for DODS variables.
        Returns:
        An instance of this class corresponding to the input.
      • data

        public DataImpl data(java.lang.String name,
                             dods.dap.Attribute attribute,
                             boolean copy)
                      throws BadFormException,
                             VisADException,
                             java.rmi.RemoteException
        Returns the VisAD data object corresponding to a DODS attribute.
        Parameters:
        name - The name of the DODS attribute.
        attribute - A DODS attribute.
        copy - If true, then a copy of the data object is returned.
        Returns:
        The VisAD data object corresponding to the DODS attribute.
        Throws:
        BadFormException - The DODS information is corrupt.
        VisADException - VisAD failure.
        java.rmi.RemoteException - Java RMI failure.
      • data

        public DataImpl data(dods.dap.BaseType var,
                             dods.dap.DAS das,
                             boolean copy)
                      throws BadFormException,
                             VisADException,
                             java.rmi.RemoteException
        Returns the VisAD data object 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.
        copy - If true, then a copy of the data object is returned.
        Returns:
        The VisAD data object corresponding to the DODS variable.
        Throws:
        BadFormException - The DODS information is corrupt.
        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.