|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.portals.bridges.jsf.AbstractAttributeMap
Helper Map implementation for use with different Attribute Maps.
See MyFaces project for servlet implementation.
| Nested Class Summary | |
private class |
AbstractAttributeMap.EntryIterator
Not very efficient since it generates a new instance of Entry for each element and still internaly uses the
KeyIterator. |
private class |
AbstractAttributeMap.EntrySet
|
private class |
AbstractAttributeMap.EntrySetEntry
|
private class |
AbstractAttributeMap.KeyIterator
|
private class |
AbstractAttributeMap.KeySet
|
private class |
AbstractAttributeMap.Values
|
private class |
AbstractAttributeMap.ValuesIterator
|
| Nested classes inherited from class java.util.Map |
Map.Entry |
| Field Summary | |
private Set |
entrySet
|
private Set |
keySet
|
private Collection |
values
|
| Constructor Summary | |
AbstractAttributeMap()
|
|
| Method Summary | |
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object findValue)
|
Set |
entrySet()
|
Object |
get(Object key)
|
protected abstract Object |
getAttribute(String key)
Gets an attribute given a key. |
protected abstract Enumeration |
getAttributeNames()
Gets the attributes names. |
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map t)
|
Object |
remove(Object key)
|
protected abstract void |
removeAttribute(String key)
Removes an attribute. |
protected abstract void |
setAttribute(String key,
Object value)
Sets an attribute given a key/value. |
int |
size()
|
Collection |
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 |
| Field Detail |
private Set keySet
private Collection values
private Set entrySet
| Constructor Detail |
public AbstractAttributeMap()
| Method Detail |
public void clear()
clear in interface MapMap.clear()public boolean containsKey(Object key)
containsKey in interface MapMap.containsKey(java.lang.Object)public boolean containsValue(Object findValue)
containsValue in interface MapMap.containsValue(java.lang.Object)public Set entrySet()
entrySet in interface MapMap.entrySet()public Object get(Object key)
get in interface MapMap.get(java.lang.Object)public boolean isEmpty()
isEmpty in interface MapMap.isEmpty()public Set keySet()
keySet in interface MapMap.keySet()
public Object put(Object key,
Object value)
put in interface MapMap.put(java.lang.Object, java.lang.Object)public void putAll(Map t)
putAll in interface MapMap.putAll(java.util.Map)public Object remove(Object key)
remove in interface MapMap.remove(java.lang.Object)public int size()
size in interface MapMap.size()public Collection values()
values in interface MapMap.values()protected abstract Object getAttribute(String key)
Gets an attribute given a key.
key - The key.
protected abstract void setAttribute(String key,
Object value)
Sets an attribute given a key/value.
key - The key.value - The value.protected abstract void removeAttribute(String key)
Removes an attribute.
key - The key.protected abstract Enumeration getAttributeNames()
Gets the attributes names.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||