org.ho.yaml.wrapper
Class OneArgConstructorTypeWrapper
java.lang.Object
org.ho.yaml.wrapper.AbstractWrapper
org.ho.yaml.wrapper.DefaultSimpleTypeWrapper
org.ho.yaml.wrapper.OneArgConstructorTypeWrapper
- All Implemented Interfaces:
- ObjectWrapper, SimpleObjectWrapper, WrapperFactory
- Direct Known Subclasses:
- ClassWrapper
public class OneArgConstructorTypeWrapper
- extends DefaultSimpleTypeWrapper
- implements WrapperFactory
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OneArgConstructorTypeWrapper
public OneArgConstructorTypeWrapper()
OneArgConstructorTypeWrapper
public OneArgConstructorTypeWrapper(java.lang.Class type)
OneArgConstructorTypeWrapper
public OneArgConstructorTypeWrapper(java.lang.Class type,
java.lang.String argType)
expectedArgType
public java.lang.Class expectedArgType()
- Specified by:
expectedArgType
in interface SimpleObjectWrapper
- Overrides:
expectedArgType
in class DefaultSimpleTypeWrapper
setObject
public void setObject(java.lang.Object obj)
- Specified by:
setObject
in interface ObjectWrapper
- Overrides:
setObject
in class AbstractWrapper
getArgType
public java.lang.String getArgType()
setArgType
public void setArgType(java.lang.String argType)
setType
public void setType(java.lang.Class type)
makeWrapper
public ObjectWrapper makeWrapper()
- Specified by:
makeWrapper
in interface WrapperFactory
- Overrides:
makeWrapper
in class AbstractWrapper