net.ontopia.topicmaps.nav2.taglibs.tolog
Class ContextManagerMapWrapper

java.lang.Object
  extended by net.ontopia.topicmaps.nav2.taglibs.tolog.ContextManagerMapWrapper
All Implemented Interfaces:
Map
Direct Known Subclasses:
ContextManagerScopingMapWrapper

public class ContextManagerMapWrapper
extends Object
implements Map

INTERNAL: Used to make the OKS variables available as request attributes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
ContextManagerMapWrapper(ContextManagerIF contextManager)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set entrySet()
           
 Object get(Object key)
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 void putAll(Map t)
           
 Object remove(Object key)
          Overwrites the old value of the given key with an empty collection.
 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
 

Constructor Detail

ContextManagerMapWrapper

public ContextManagerMapWrapper(ContextManagerIF contextManager)
Method Detail

get

public Object get(Object key)
Specified by:
get in interface Map

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map

size

public int size()
Specified by:
size in interface Map

clear

public void clear()
Specified by:
clear in interface Map

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map

remove

public Object remove(Object key)
Overwrites the old value of the given key with an empty collection. If the key was not already bound to a value then nothing is done and null is returned. This violates the Map contract with regards to size, but size is not implemented, and will not be.

Specified by:
remove in interface Map
Parameters:
key - - The key of the mapping.

values

public Collection values()
Specified by:
values in interface Map


Copyright © 2000-2012 Ontopia.