org.ho.yaml.wrapper
Class DefaultMapWrapper

java.lang.Object
  extended by org.ho.yaml.wrapper.AbstractWrapper
      extended by org.ho.yaml.wrapper.DefaultMapWrapper
All Implemented Interfaces:
MapWrapper, ObjectWrapper

public class DefaultMapWrapper
extends AbstractWrapper
implements MapWrapper


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ho.yaml.wrapper.ObjectWrapper
ObjectWrapper.CreateListener
 
Constructor Summary
DefaultMapWrapper(java.lang.Class type)
           
 
Method Summary
 boolean containsKey(java.lang.Object key)
           
 java.lang.Object get(java.lang.Object key)
           
 java.lang.Class getExpectedType(java.lang.Object key)
           
 java.util.Set keys()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class org.ho.yaml.wrapper.AbstractWrapper
addCreateHandler, createPrototype, getObject, getType, makeWrapper, setObject, setYamlConfig, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ho.yaml.wrapper.ObjectWrapper
addCreateHandler, createPrototype, getObject, getType, setObject, setYamlConfig
 

Constructor Detail

DefaultMapWrapper

public DefaultMapWrapper(java.lang.Class type)
Method Detail

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface MapWrapper

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface MapWrapper

put

public void put(java.lang.Object key,
                java.lang.Object value)
Specified by:
put in interface MapWrapper

getExpectedType

public java.lang.Class getExpectedType(java.lang.Object key)
Specified by:
getExpectedType in interface MapWrapper

keys

public java.util.Set keys()
Specified by:
keys in interface MapWrapper