Class TLcdGeodeticDatumFactory

java.lang.Object
com.luciad.geodesy.TLcdGeodeticDatumFactory

public class TLcdGeodeticDatumFactory extends Object
The TLcdGeodeticDatumFactory is capable of creating an instance of ILcdGeodeticDatum by decoding a given Properties object.
  • Constructor Details

    • TLcdGeodeticDatumFactory

      public TLcdGeodeticDatumFactory()
  • Method Details

    • createGeodeticDatum

      public static ILcdGeodeticDatum createGeodeticDatum(String aPrefix, Properties aProperties) throws IllegalArgumentException
      This method will, given aPrefix and aProperties, return an ILcdGeodeticDatum. It will look for the following key : <aPrefix>ILcdGeodeticDatumFactory.class : the name of a ILcdGeodeticDatumFactory instance that is capable of creating a ILcdGeodeticDatum. The aProperties object should contain entries which will be analyzed by the specified ILcdGeodeticDatumFactory instance.
      Parameters:
      aPrefix - prefix for propertFy names.
      aProperties - Properties object holding the property values.
      Returns:
      the ILcdGeodeticDatum corresponding to the given properties.
      Throws:
      IllegalArgumentException - if the ILcdGeodeticDatum cannot be created.
      See Also:
    • writePropertiesSFCT

      public static void writePropertiesSFCT(ILcdGeodeticDatum aGeodeticDatum, String aPrefix, Properties aPropertiesSFCT)
      Serializes a ILcdGeodeticDatum as properties into a Properties object. The property names get the common prefix aPrefix. The method will look if the ILcdGeodeticDatum is specified by one of the ILcdGeodeticDatumFactory implementations:
      1. TLcdNIMA8350GeodeticDatumFactory
      2. TLcdJPLGeodeticDatumFactory
      Parameters:
      aGeodeticDatum - geodetic datum to serialize.
      aPrefix - prefix to use for property names.
      aPropertiesSFCT - container holding the property values as side effect.
      Throws:
      IllegalArgumentException - if the serialization as properties fails.
      See Also: