Details
Description
Given an IIOMetadata instance (which may be created from an ISO 19115-2 metadata as per GEOTK-52), we need to extract the following informations in a convenient tabular format:
- The name of the metadata element.
- A description of the metadata element.
- The expected class of metadata value for that element.
- The restrictions on valid values (either as a range or as an enumeration).
- The range of occurences (how many time the node can be repeated).
- The default value for that element.
- The actual metadata value for that element.
Since IIOMetadata are organized as a tree of nodes, we get a TreeTable and each metadata element is represented as a MetadataTreeNode. A getter method need to be provided for each of the above items, and the corresponding information must be extracted from the IIOMetadata structure.
The result of this work is the MetadataTreeTable.

Task completed. Experience while we work on other tasks will tell us if this task needs additional completion.