|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.netcdf.in.DataFactory
public class DataFactory
Provides support for creating VisAD Data objects from VirtualData objects.
Constructor Summary | |
---|---|
protected |
DataFactory()
|
Method Summary | |
---|---|
static DataFactory |
instance()
Returns an instance of this class. |
DataImpl |
newData(Context context,
VirtualData virtualData)
Creates a VisAD Data object from a netCDF indicial context and a VirtualData object. |
FieldImpl |
newData(Context context,
VirtualField virtualField)
Creates a VisAD Field object from a netCDF indicial context and a VirtualField. |
FlatField |
newData(Context context,
VirtualFlatField virtualField)
Creates a VisAD FlatField object from a netCDF indicial context and a VirtualFlatField. |
Scalar |
newData(Context context,
VirtualScalar virtualScalar)
Creates a VisAD Scalar object from a netCDF indicial context and a VirtualScalar. |
DataImpl |
newData(Context context,
VirtualTuple virtualTuple)
Creates a VisAD Data object from a netCDF indicial context and a VirtualTuple. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DataFactory()
Method Detail |
---|
public static DataFactory instance()
public DataImpl newData(Context context, VirtualData virtualData) throws RemoteException, VisADException, InvalidContextException, IOException
context
- The netCDF indicial context.virtualData
- The virtual data.
InvalidContextException
- Invalid indicial context.
VisADException
- VisAD failure.
RemoteException
- Java RMI failure.
IOException
- I/O failure.public Scalar newData(Context context, VirtualScalar virtualScalar) throws VisADException, InvalidContextException, IOException
context
- The netCDF indicial context.virtualScalar
- The virtual data.
InvalidContextException
- Invalid indicial context.
VisADException
- VisAD failure.
IOException
- I/O failure.public FlatField newData(Context context, VirtualFlatField virtualField) throws VisADException, RemoteException, IOException
context
- The netCDF indicial context.virtualField
- The virtual data.
VisADException
- VisAD failure.
RemoteException
- Java RMI failure.
IOException
- I/O failure.public FieldImpl newData(Context context, VirtualField virtualField) throws VisADException, RemoteException, IOException
context
- The netCDF indicial context.virtualField
- The virtual data.
VisADException
- VisAD failure.
RemoteException
- Java RMI failure.
IOException
- I/O failure.public DataImpl newData(Context context, VirtualTuple virtualTuple) throws RemoteException, VisADException, IOException
context
- The netCDF indicial context.virtualTuple
- The virtual data.
VisADException
- VisAD failure.
RemoteException
- Java RMI failure.
IOException
- I/O failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |