freemarker.ext.beans
Class HashAdapter

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

public class HashAdapter
extends java.util.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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 boolean containsKey(java.lang.Object key)
           
 java.util.Set entrySet()
           
 java.lang.Object get(java.lang.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 java.util.Map
Overrides:
isEmpty in class java.util.AbstractMap

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface java.util.Map
Overrides:
get in class java.util.AbstractMap

containsKey

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

entrySet

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