opendap.dap
Interface BaseTypeFactory

All Known Implementing Classes:
asciiFactory, DefaultFactory, test_ServerFactory, wwwFactory

public interface BaseTypeFactory

A Factory for BaseType objects. The DDS parser must implement this interface so that specific instances of DByte, and other BaseTypes, can be created.

DDS and its parser will use this interface to create specific instances of the various data type classes in OPeNDAP. There is an implementation of this interface which creates instances of the DByte, etc. classes. If a new set of classes are defined (e.g. NC_Byte, etc.) this interface should be implemented for those classes such that the methods return instances of the appropriate types.

Version:
$Revision: 23881 $
Author:
jehamby
See Also:
BaseType, DefaultFactory, DDS

Method Summary
 DArray newDArray()
          Construct a new DArray.
 DArray newDArray(java.lang.String n)
          Construct a new DArray with name n.
 DByte newDByte()
          Construct a new DByte.
 DByte newDByte(java.lang.String n)
          Construct a new DByte with name n.
 DFloat32 newDFloat32()
          Construct a new DFloat32.
 DFloat32 newDFloat32(java.lang.String n)
          Construct a new DFloat32 with name n.
 DFloat64 newDFloat64()
          Construct a new DFloat64.
 DFloat64 newDFloat64(java.lang.String n)
          Construct a new DFloat64 with name n.
 DGrid newDGrid()
          Construct a new DGrid.
 DGrid newDGrid(java.lang.String n)
          Construct a new DGrid with name n.
 DInt16 newDInt16()
          Construct a new DInt16.
 DInt16 newDInt16(java.lang.String n)
          Construct a new DInt16 with name n.
 DInt32 newDInt32()
          Construct a new DInt32.
 DInt32 newDInt32(java.lang.String n)
          Construct a new DInt32 with name n.
 DSequence newDSequence()
          Construct a new DSequence.
 DSequence newDSequence(java.lang.String n)
          Construct a new DSequence with name n.
 DString newDString()
          Construct a new DString.
 DString newDString(java.lang.String n)
          Construct a new DString with name n.
 DStructure newDStructure()
          Construct a new DStructure.
 DStructure newDStructure(java.lang.String n)
          Construct a new DStructure with name n.
 DUInt16 newDUInt16()
          Construct a new DUInt16.
 DUInt16 newDUInt16(java.lang.String n)
          Construct a new DUInt16 with name n.
 DUInt32 newDUInt32()
          Construct a new DUInt32.
 DUInt32 newDUInt32(java.lang.String n)
          Construct a new DUInt32 with name n.
 DURL newDURL()
          Construct a new DURL.
 DURL newDURL(java.lang.String n)
          Construct a new DURL with name n.
 

Method Detail

newDByte

DByte newDByte()
Construct a new DByte.

Returns:
the new DByte

newDByte

DByte newDByte(java.lang.String n)
Construct a new DByte with name n.

Parameters:
n - the variable name
Returns:
the new DByte

newDInt16

DInt16 newDInt16()
Construct a new DInt16.

Returns:
the new DInt16

newDInt16

DInt16 newDInt16(java.lang.String n)
Construct a new DInt16 with name n.

Parameters:
n - the variable name
Returns:
the new DInt16

newDUInt16

DUInt16 newDUInt16()
Construct a new DUInt16.

Returns:
the new DUInt16

newDUInt16

DUInt16 newDUInt16(java.lang.String n)
Construct a new DUInt16 with name n.

Parameters:
n - the variable name
Returns:
the new DUInt16

newDInt32

DInt32 newDInt32()
Construct a new DInt32.

Returns:
the new DInt32

newDInt32

DInt32 newDInt32(java.lang.String n)
Construct a new DInt32 with name n.

Parameters:
n - the variable name
Returns:
the new DInt32

newDUInt32

DUInt32 newDUInt32()
Construct a new DUInt32.

Returns:
the new DUInt32

newDUInt32

DUInt32 newDUInt32(java.lang.String n)
Construct a new DUInt32 with name n.

Parameters:
n - the variable name
Returns:
the new DUInt32

newDFloat32

DFloat32 newDFloat32()
Construct a new DFloat32.

Returns:
the new DFloat32

newDFloat32

DFloat32 newDFloat32(java.lang.String n)
Construct a new DFloat32 with name n.

Parameters:
n - the variable name
Returns:
the new DFloat32

newDFloat64

DFloat64 newDFloat64()
Construct a new DFloat64.

Returns:
the new DFloat64

newDFloat64

DFloat64 newDFloat64(java.lang.String n)
Construct a new DFloat64 with name n.

Parameters:
n - the variable name
Returns:
the new DFloat64

newDString

DString newDString()
Construct a new DString.

Returns:
the new DString

newDString

DString newDString(java.lang.String n)
Construct a new DString with name n.

Parameters:
n - the variable name
Returns:
the new DString

newDURL

DURL newDURL()
Construct a new DURL.

Returns:
the new DURL

newDURL

DURL newDURL(java.lang.String n)
Construct a new DURL with name n.

Parameters:
n - the variable name
Returns:
the new DURL

newDArray

DArray newDArray()
Construct a new DArray.

Returns:
the new DArray

newDArray

DArray newDArray(java.lang.String n)
Construct a new DArray with name n.

Parameters:
n - the variable name
Returns:
the new DArray

newDGrid

DGrid newDGrid()
Construct a new DGrid.

Returns:
the new DGrid

newDGrid

DGrid newDGrid(java.lang.String n)
Construct a new DGrid with name n.

Parameters:
n - the variable name
Returns:
the new DGrid

newDStructure

DStructure newDStructure()
Construct a new DStructure.

Returns:
the new DStructure

newDStructure

DStructure newDStructure(java.lang.String n)
Construct a new DStructure with name n.

Parameters:
n - the variable name
Returns:
the new DStructure

newDSequence

DSequence newDSequence()
Construct a new DSequence.

Returns:
the new DSequence

newDSequence

DSequence newDSequence(java.lang.String n)
Construct a new DSequence with name n.

Parameters:
n - the variable name
Returns:
the new DSequence