Class InformationMap
java.lang.Object
java.util.AbstractMap<String, org.opengis.metadata.ExtendedElementInformation>
org.apache.sis.metadata.PropertyMap<org.opengis.metadata.ExtendedElementInformation>
org.apache.sis.metadata.InformationMap
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class PropertyMap
PropertyMap.Entries, PropertyMap.IterNested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.metadata.citation.CitationThe standard which define thePropertyAccessor.typeinterface.Fields inherited from class PropertyMap
accessor, entrySet, keyPolicy -
Constructor Summary
ConstructorsConstructorDescriptionInformationMap(org.opengis.metadata.citation.Citation standard, PropertyAccessor accessor, KeyNamePolicy keyPolicy) Creates an information map for the specified accessor. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.metadata.ExtendedElementInformationReturns the information to which the specified key is mapped, ornullif this map contains no mapping for the key.(package private) final Iterator<Map.Entry<String, org.opengis.metadata.ExtendedElementInformation>> iterator()Returns an iterator over the entries contained in this map.Methods inherited from class PropertyMap
containsKey, entrySet, sizeMethods inherited from class AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, toString, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
standard
private final org.opengis.metadata.citation.Citation standardThe standard which define thePropertyAccessor.typeinterface.
-
-
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 theaccessor.typeinterface.accessor- the accessor to use for the metadata.keyPolicy- determines the string representation of keys in the map.
-
-
Method Details
-
get
Returns the information to which the specified key is mapped, ornullif this map contains no mapping for the key. -
iterator
Returns an iterator over the entries contained in this map.- Specified by:
iteratorin classPropertyMap<org.opengis.metadata.ExtendedElementInformation>
-