Class OperationParametersReport

Object
Report
OperationParametersReport

public class OperationParametersReport extends Report
Generates a list of operations (typically map projections) and their parameters. The operations are described by instances of an IdentifiedObject subtype, for example coordinates OperationMethod. Each operation can be associated to a ParameterDescriptorGroup instance. Those elements can be added individually in the rows list. Alternatively, a convenience method can be used for adding all operation methods available from a given MathTransformFactory.

This class recognizes the following property values:

Report properties
Key Remarks Meaning
TITLE Title of the web page to produce.
DESCRIPTION optional Description to write after the introductory paragraph.
OBJECTS.KIND Kind of objects listed in the page (e.g. Operation Methods).
PRODUCT.NAME Name of the product for which the report is generated.
PRODUCT.VERSION Version of the product for which the report is generated.
PRODUCT.URL URL where more information is available about the product.
JAVADOC.GEOAPI predefinedBase URL of GeoAPI javadoc.
FILENAME predefinedName of the file to create if the write(File) argument is a directory.

How to use this class:

  • Create a Properties map with the values documented in the above table. Default values exist for many keys, but may depend on the environment. It is safer to specify values explicitly when they are known.
  • Create a new OperationParametersReport with the above properties map given to the constructor.
  • Invoke one of the add method for each operation or factory to include in the HTML page.
  • Invoke write(File).
Since:
3.1