org.ho.yaml.wrapper
Class DefaultBeanWrapper
java.lang.Object
org.ho.yaml.wrapper.AbstractWrapper
org.ho.yaml.wrapper.DefaultBeanWrapper
- All Implemented Interfaces:
- MapWrapper, ObjectWrapper
- Direct Known Subclasses:
- DelayedCreationBeanWrapper
public class DefaultBeanWrapper
- extends AbstractWrapper
- implements MapWrapper
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.lang.Object |
getProperty(java.lang.String name)
|
java.lang.Class |
getPropertyType(java.lang.String name)
|
boolean |
hasProperty(java.lang.String name)
|
java.util.Set |
keys()
|
void |
put(java.lang.Object key,
java.lang.Object value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultBeanWrapper
public DefaultBeanWrapper(java.lang.Class type)
hasProperty
public boolean hasProperty(java.lang.String name)
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws org.ho.yaml.exception.PropertyAccessException
- Throws:
org.ho.yaml.exception.PropertyAccessException
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.ho.yaml.exception.PropertyAccessException
- Throws:
org.ho.yaml.exception.PropertyAccessException
getPropertyType
public java.lang.Class getPropertyType(java.lang.String name)
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
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
put
public void put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface MapWrapper