Package opendap.dap
Interface BaseTypeFactory
-
- All Known Implementing Classes:
DefaultFactory
public interface BaseTypeFactory
A Factory for BaseType objects. The DDS parser must implement this interface so that specific instances ofDByte
, and otherBaseType
s, 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 theDByte
, 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.- See Also:
BaseType
,DefaultFactory
,DDS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DArray
newDArray()
Construct a new DArray.DArray
newDArray(String n)
Construct a new DArray with name n.DByte
newDByte()
Construct a new DByte.DByte
newDByte(String n)
Construct a new DByte with name n.DFloat32
newDFloat32()
Construct a new DFloat32.DFloat32
newDFloat32(String n)
Construct a new DFloat32 with name n.DFloat64
newDFloat64()
Construct a new DFloat64.DFloat64
newDFloat64(String n)
Construct a new DFloat64 with name n.DGrid
newDGrid()
Construct a new DGrid.DGrid
newDGrid(String n)
Construct a new DGrid with name n.DInt16
newDInt16()
Construct a new DInt16.DInt16
newDInt16(String n)
Construct a new DInt16 with name n.DInt32
newDInt32()
Construct a new DInt32.DInt32
newDInt32(String n)
Construct a new DInt32 with name n.DSequence
newDSequence()
Construct a new DSequence.DSequence
newDSequence(String n)
Construct a new DSequence with name n.DString
newDString()
Construct a new DString.DString
newDString(String n)
Construct a new DString with name n.DStructure
newDStructure()
Construct a new DStructure.DStructure
newDStructure(String n)
Construct a new DStructure with name n.DUInt16
newDUInt16()
Construct a new DUInt16.DUInt16
newDUInt16(String n)
Construct a new DUInt16 with name n.DUInt32
newDUInt32()
Construct a new DUInt32.DUInt32
newDUInt32(String n)
Construct a new DUInt32 with name n.DURL
newDURL()
Construct a new DURL.DURL
newDURL(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(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(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(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(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(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(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(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(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(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(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(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(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
-
-