| java.lang.Object java.util.AbstractMap org.geotools.metadata.PropertyMap
PropertyMap | final class PropertyMap extends AbstractMap (Code) | | A view of a metadata object as a map. Keys are property names and values
are the value returned by the
getFoo() method using reflection.
since: 2.4 version: $Id: PropertyMap.java 25157 2007-04-12 15:59:03Z desruisseaux $ author: Martin Desruisseaux (Geomatys) See Also: MetadataStandard.asMap |
Method Summary | |
public boolean | containsKey(Object key) Returns
true if this map contains a mapping for the specified key. | public Set | entrySet() Returns a view of the mappings contained in this map. | public Object | get(Object key) Returns the value to which the specified key is mapped, or
null if this map contains no mapping for the key. | public boolean | isEmpty() Returns
true if this map contains no key-value mappings. | public Object | put(Object key, Object value) Associates the specified value with the specified key in this map. | public Object | remove(Object key) Removes the mapping for a key from this map if it is present. |
PropertyMap | public PropertyMap(Object metadata, PropertyAccessor accessor)(Code) | | Creates a property map for the specified metadata and accessor.
|
containsKey | public boolean containsKey(Object key)(Code) | | Returns
true if this map contains a mapping for the specified key.
|
entrySet | public Set entrySet()(Code) | | Returns a view of the mappings contained in this map.
|
get | public Object get(Object key)(Code) | | Returns the value to which the specified key is mapped, or
null if this map contains no mapping for the key.
|
isEmpty | public boolean isEmpty()(Code) | | Returns
true if this map contains no key-value mappings.
|
remove | public Object remove(Object key)(Code) | | Removes the mapping for a key from this map if it is present.
|
|
|