public class SimpleDateFormatObjectDescription extends BeanObjectDescription
SimpleDateFormat
object.Constructor and Description |
---|
SimpleDateFormatObjectDescription()
Creates a new object description.
|
SimpleDateFormatObjectDescription(java.lang.Class className)
Creates a new object description.
|
SimpleDateFormatObjectDescription(java.lang.Class className,
boolean init)
Creates a new object description.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createObject()
Creates an object based on this description.
|
void |
setParameterFromObject(java.lang.Object o)
Sets the parameters of this description object to match the supplied object.
|
ignoreParameter, isParameterIgnored
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
public SimpleDateFormatObjectDescription()
public SimpleDateFormatObjectDescription(java.lang.Class className)
className
- the class.public SimpleDateFormatObjectDescription(java.lang.Class className, boolean init)
className
- the class.init
- initialise?public void setParameterFromObject(java.lang.Object o) throws ObjectFactoryException
setParameterFromObject
in interface ObjectDescription
setParameterFromObject
in class BeanObjectDescription
o
- the object.ObjectFactoryException
- if there is a problem while reading the
properties of the given object.public java.lang.Object createObject()
createObject
in interface ObjectDescription
createObject
in class BeanObjectDescription