Interface ILcdGeodeticDatumFactory

All Known Implementing Classes:
TLcdEPSGGeodeticDatumFactory, TLcdGenericGeodeticDatumFactory, TLcdGeoidGeodeticDatumFactory, TLcdJPLGeodeticDatumFactory, TLcdNIMA8350GeodeticDatumFactory

public interface ILcdGeodeticDatumFactory
An ILcdGeodeticDatumFactory is an object to create ILcdGeodeticDatum objects (Factory pattern).

Each ILcdGeodeticDatumFactory defines some ILcdGeodeticDatum objects. It associates one of these ILcdGeodeticDatum objects to a number of combinations of a prefix (of the type String) and a Properties object.

It is up to the implementations of the ILcdGeodeticDatumFactory which ILcdGeodeticDatum objects to define, and which combinations of prefix and Properties to allow.

See Also:
  • Method Details

    • createGeodeticDatum

      ILcdGeodeticDatum createGeodeticDatum(String aPrefix, Properties aProperties) throws IllegalArgumentException
      Creates a ILcdGeodeticDatum from a Properties Object.
      Parameters:
      aPrefix - prefix for property names.
      aProperties - Properties object from which to derive the geodetic datum.
      Returns:
      ILcdGeodeticDatum associated to the combination aPrefix and aProperties.
      Throws:
      IllegalArgumentException - if no ILcdGeodeticDatum is associated to the combination aPrefix and aProperties.