Documentation of 'visad.data.DataNode' Java class
DataNode
visad.data

Class DataNode



  • public abstract class DataNode
    extends java.lang.Object
    Abstract class for adapting a VisAD data object to the "Visitor" design pattern. This class knows how to traverse an arbitrary VisAD data object.
    • Method Detail

      • create

        public static DataNode create(Data data)
                               throws UnimplementedException
        Factory method for creating an instance of the appropriate type.
        Parameters:
        data - The VisAD data object to be traversed.
        Returns:
        A DataNode that knows how to traverse the VisAD data object.
        Throws:
        UnimplementedException - A (soon to be implemented) method isn't implemented yet.
      • accept

        public abstract DataVisitor accept(DataVisitor visitor)
                                    throws UnimplementedException,
                                           BadFormException,
                                           VisADException,
                                           java.rmi.RemoteException
        Accept a visitor and traverse the data object.
        Parameters:
        visitor - The object that will have it's visit() method called for each subcomponent of the VisAD data object.
        Returns:
        visitor for convenience.
        Throws:
        UnimplementedException - A (soon to be implemented) method isn't implemented yet.
        BadFormException - The VisAD data object doesn't "fit" the data model used by visitor.
        VisADException - Problem in core VisAD (probably couldn't create some VisAD object).
        java.rmi.RemoteException - Problem accessing the VisAD data object.
        See Also:
        DataVisitor

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.