com.liferay.faces.util.map
Class AbstractPropertyMap<V>

java.lang.Object
  extended by com.liferay.faces.util.map.AbstractPropertyMap<V>
All Implemented Interfaces:
Map<String,V>
Direct Known Subclasses:
ApplicationScope, RequestScope, SessionScope

public abstract class AbstractPropertyMap<V>
extends Object
implements Map<String,V>

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
AbstractPropertyMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
protected abstract  AbstractPropertyMapEntry<V> createPropertyMapEntry(String name)
           
 Set<Map.Entry<String,V>> entrySet()
           
 V get(Object key)
           
protected abstract  V getProperty(String name)
           
protected abstract  Enumeration<String> getPropertyNames()
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 V put(String key, V value)
           
 void putAll(Map<? extends String,? extends V> t)
           
 V remove(Object key)
           
protected abstract  void removeProperty(String name)
           
protected abstract  void setProperty(String name, V value)
           
 int size()
           
 Collection<V> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

AbstractPropertyMap

public AbstractPropertyMap()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,V>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,V>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,V>

entrySet

public Set<Map.Entry<String,V>> entrySet()
Specified by:
entrySet in interface Map<String,V>

get

public V get(Object key)
Specified by:
get in interface Map<String,V>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,V>

put

public V put(String key,
             V value)
Specified by:
put in interface Map<String,V>

putAll

public void putAll(Map<? extends String,? extends V> t)
Specified by:
putAll in interface Map<String,V>

remove

public V remove(Object key)
Specified by:
remove in interface Map<String,V>

size

public int size()
Specified by:
size in interface Map<String,V>

values

public Collection<V> values()
Specified by:
values in interface Map<String,V>

createPropertyMapEntry

protected abstract AbstractPropertyMapEntry<V> createPropertyMapEntry(String name)

removeProperty

protected abstract void removeProperty(String name)

getProperty

protected abstract V getProperty(String name)

setProperty

protected abstract void setProperty(String name,
                                    V value)

getPropertyNames

protected abstract Enumeration<String> getPropertyNames()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,V>


Copyright © 2015 Liferay, Inc.. All rights reserved.