Package opendap.dap
Interface BaseTypeFactory
-
- All Known Implementing Classes:
DefaultFactory
public interface BaseTypeFactoryA Factory for BaseType objects. The DDS parser must implement this interface so that specific instances ofDByte, and otherBaseTypes, 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 DArraynewDArray()Construct a new DArray.DArraynewDArray(String n)Construct a new DArray with name n.DBytenewDByte()Construct a new DByte.DBytenewDByte(String n)Construct a new DByte with name n.DFloat32newDFloat32()Construct a new DFloat32.DFloat32newDFloat32(String n)Construct a new DFloat32 with name n.DFloat64newDFloat64()Construct a new DFloat64.DFloat64newDFloat64(String n)Construct a new DFloat64 with name n.DGridnewDGrid()Construct a new DGrid.DGridnewDGrid(String n)Construct a new DGrid with name n.DInt16newDInt16()Construct a new DInt16.DInt16newDInt16(String n)Construct a new DInt16 with name n.DInt32newDInt32()Construct a new DInt32.DInt32newDInt32(String n)Construct a new DInt32 with name n.DSequencenewDSequence()Construct a new DSequence.DSequencenewDSequence(String n)Construct a new DSequence with name n.DStringnewDString()Construct a new DString.DStringnewDString(String n)Construct a new DString with name n.DStructurenewDStructure()Construct a new DStructure.DStructurenewDStructure(String n)Construct a new DStructure with name n.DUInt16newDUInt16()Construct a new DUInt16.DUInt16newDUInt16(String n)Construct a new DUInt16 with name n.DUInt32newDUInt32()Construct a new DUInt32.DUInt32newDUInt32(String n)Construct a new DUInt32 with name n.DURLnewDURL()Construct a new DURL.DURLnewDURL(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
-
-