java.io.Serializable, ObjectDescriptionpublic class SimpleDateFormatObjectDescription extends BeanObjectDescription
SimpleDateFormat object.| Constructor | 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 | 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.
|
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinitionignoreParameter, isParameterIgnoredpublic 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 ObjectDescriptionsetParameterFromObject in class BeanObjectDescriptiono - the object.ObjectFactoryException - if there is a problem while reading the
properties of the given object.public java.lang.Object createObject()
createObject in interface ObjectDescriptioncreateObject in class BeanObjectDescription