org.jboss.seam
Class Namespace

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by org.jboss.seam.Namespace
All Implemented Interfaces:
Map<String,Object>

public class Namespace
extends AbstractMap<String,Object>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Namespace(String name)
           
 
Method Summary
 void addChild(String name, Namespace value)
           
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set entrySet()
           
 boolean equals(Object other)
           
 Object get(Object key)
           
 Namespace getChild(String key)
           
 boolean hasChild(String key)
           
 int hashCode()
           
 Set<String> keySet()
           
 Object put(String name, Object value)
           
 void putAll(Map<? extends String,? extends Object> t)
           
 Object remove(Object key)
           
 int size()
           
 Collection<Object> values()
           
 
Methods inherited from class java.util.AbstractMap
clone, isEmpty, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Namespace

public Namespace(String name)
Method Detail

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map<String,Object>
Specified by:
entrySet in class AbstractMap<String,Object>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>
Overrides:
keySet in class AbstractMap<String,Object>

size

public int size()
Specified by:
size in interface Map<String,Object>
Overrides:
size in class AbstractMap<String,Object>

get

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

getChild

public Namespace getChild(String key)

hasChild

public boolean hasChild(String key)

containsKey

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

containsValue

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

clear

public void clear()
Specified by:
clear in interface Map<String,Object>
Overrides:
clear in class AbstractMap<String,Object>

remove

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

values

public Collection<Object> values()
Specified by:
values in interface Map<String,Object>
Overrides:
values in class AbstractMap<String,Object>

putAll

public void putAll(Map<? extends String,? extends Object> t)
Specified by:
putAll in interface Map<String,Object>
Overrides:
putAll in class AbstractMap<String,Object>

addChild

public void addChild(String name,
                     Namespace value)

put

public Object put(String name,
                  Object value)
Specified by:
put in interface Map<String,Object>
Overrides:
put in class AbstractMap<String,Object>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map<String,Object>
Overrides:
hashCode in class AbstractMap<String,Object>

equals

public boolean equals(Object other)
Specified by:
equals in interface Map<String,Object>
Overrides:
equals in class AbstractMap<String,Object>