org.ho.yaml.wrapper
Class AbstractWrapper

java.lang.Object
  extended by org.ho.yaml.wrapper.AbstractWrapper
All Implemented Interfaces:
ObjectWrapper
Direct Known Subclasses:
ArrayWrapper, DefaultBeanWrapper, DefaultCollectionWrapper, DefaultMapWrapper, DefaultSimpleTypeWrapper, EnumWrapper

public abstract class AbstractWrapper
extends java.lang.Object
implements ObjectWrapper


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ho.yaml.wrapper.ObjectWrapper
ObjectWrapper.CreateListener
 
Method Summary
 void addCreateHandler(ObjectWrapper.CreateListener listener)
           
 java.lang.Object createPrototype()
           
 java.lang.Object getObject()
           
 java.lang.Class getType()
           
 ObjectWrapper makeWrapper()
           
 void setObject(java.lang.Object obj)
           
 void setYamlConfig(YamlConfig config)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

addCreateHandler

public void addCreateHandler(ObjectWrapper.CreateListener listener)
Specified by:
addCreateHandler in interface ObjectWrapper

getType

public java.lang.Class getType()
Specified by:
getType in interface ObjectWrapper

setObject

public void setObject(java.lang.Object obj)
Specified by:
setObject in interface ObjectWrapper

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface ObjectWrapper

createPrototype

public java.lang.Object createPrototype()
Specified by:
createPrototype in interface ObjectWrapper

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

makeWrapper

public ObjectWrapper makeWrapper()

setYamlConfig

public void setYamlConfig(YamlConfig config)
Specified by:
setYamlConfig in interface ObjectWrapper