visad.data.netcdf.in
Class VirtualData
- java.lang.Object
-
- visad.data.netcdf.in.VirtualData
-
- Direct Known Subclasses:
- VirtualField, VirtualScalar, VirtualTuple
public abstract class VirtualData extends java.lang.ObjectProvides support for a virtual VisAD data object.
-
-
Constructor Summary
Constructors Constructor and Description VirtualData()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract java.lang.Objectclone()Clones this instance.DataImplgetData()Gets the VisAD data object corresponding to this top-level, virtual, data object.abstract DataImplgetData(Context context)Gets the VisAD data object corresponding to this virtual, data object, in context.abstract DataFactorygetDataFactory()Returns the factory used to create VisAD data objects.abstract MathTypegetType()Gets the VisAD MathType of this virtual, data object.abstract voidsetDataFactory(DataFactory factory)Sets the factory used to create VisAD data objects.java.lang.StringtoString()Gets the string that represents this object.
-
-
-
Method Detail
-
getType
public abstract MathType getType() throws VisADException
Gets the VisAD MathType of this virtual, data object.- Returns:
- The VisAD MathType of this virtual, data object.
- Throws:
VisADException
-
getData
public DataImpl getData() throws VisADException, java.rmi.RemoteException, java.io.IOException
Gets the VisAD data object corresponding to this top-level, virtual, data object.- Returns:
- The VisAD data object corresponding to this top-level, virtual, data object.
- Throws:
VisADException- Couldn't create necessary VisAD object. throws RemoteException Remote access failure. throws IOException I/O failure.java.rmi.RemoteExceptionjava.io.IOException
-
toString
public java.lang.String toString()
Gets the string that represents this object.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string that represents this object.
-
getData
public abstract DataImpl getData(Context context) throws VisADException, java.rmi.RemoteException, java.io.IOException
Gets the VisAD data object corresponding to this virtual, data object, in context.- Parameters:
context- The context in which the data is to be gotten.- Returns:
- The VisAD data object corresponding to this virtual, data object.
- Throws:
VisADException- Couldn't create necessary VisAD object. throws RemoteException Remote access failure. throws IOException I/O failure.java.rmi.RemoteExceptionjava.io.IOException
-
setDataFactory
public abstract void setDataFactory(DataFactory factory)
Sets the factory used to create VisAD data objects.- Parameters:
factory- The factory for creating VisAD data objects.
-
getDataFactory
public abstract DataFactory getDataFactory()
Returns the factory used to create VisAD data objects.- Returns:
- The factory for creating VisAD data objects.
-
clone
public abstract java.lang.Object clone()
Clones this instance.- Overrides:
clonein classjava.lang.Object- Returns:
- A (deep) clone of this instance.
-
-
DMelt 3.0 © DataMelt by jWork.ORG