freemarker.ext.beans
Class HashAdapter

java.lang.Object
  extended by java.util.AbstractMap
      extended by freemarker.ext.beans.HashAdapter
All Implemented Interfaces:
TemplateModelAdapter, Map

public class HashAdapter
extends AbstractMap
implements TemplateModelAdapter

Version:
$Id: HashAdapter.java,v 1.2 2005/06/12 19:03:04 szegedia Exp $
Author:
Attila Szegedi

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 boolean containsKey(Object key)
           
 Set entrySet()
           
 Object get(Object key)
           
 TemplateModel getTemplateModel()
           
 boolean isEmpty()
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getTemplateModel

public TemplateModel getTemplateModel()
Specified by:
getTemplateModel in interface TemplateModelAdapter
Returns:
the template model this object is wrapping.

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map
Overrides:
isEmpty in class AbstractMap

get

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

containsKey

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

entrySet

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