Class InformationMap

java.lang.Object
java.util.AbstractMap<String,V>
org.apache.sis.metadata.PropertyMap<org.opengis.metadata.ExtendedElementInformation>
org.apache.sis.metadata.InformationMap
All Implemented Interfaces:
Map<String,org.opengis.metadata.ExtendedElementInformation>

final class InformationMap extends PropertyMap<org.opengis.metadata.ExtendedElementInformation>
Map of information for a given implementation class. This map is read-only. All values in this map are instances of PropertyInformation.
Since:
0.3
Version:
0.3
See Also:
  • Field Details

    • standard

      private final org.opengis.metadata.citation.Citation standard
      The standard which define the PropertyAccessor.type interface.
  • Constructor Details

    • InformationMap

      InformationMap(org.opengis.metadata.citation.Citation standard, PropertyAccessor accessor, KeyNamePolicy keyPolicy)
      Creates an information map for the specified accessor.
      Parameters:
      standard - the standard which define the accessor.type interface.
      accessor - the accessor to use for the metadata.
      keyPolicy - determines the string representation of keys in the map.
  • Method Details

    • get

      public org.opengis.metadata.ExtendedElementInformation get(Object key)
      Returns the information to which the specified key is mapped, or null if this map contains no mapping for the key.
      Specified by:
      get in interface Map<String,org.opengis.metadata.ExtendedElementInformation>
      Overrides:
      get in class AbstractMap<String,org.opengis.metadata.ExtendedElementInformation>
    • iterator

      final Iterator<Map.Entry<String,org.opengis.metadata.ExtendedElementInformation>> iterator()
      Returns an iterator over the entries contained in this map.
      Specified by:
      iterator in class PropertyMap<org.opengis.metadata.ExtendedElementInformation>