public class DecimalFormatObjectDescription extends BeanObjectDescription
DecimalFormat
object.Constructor and Description |
---|
DecimalFormatObjectDescription()
Creates a new object description.
|
DecimalFormatObjectDescription(Class className)
Creates a new object description.
|
DecimalFormatObjectDescription(Class className,
boolean init)
Deprecated.
should no longer be used...
|
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates an object (
DecimalFormat ) based on this description. |
void |
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.
|
clone, configure, convertPrimitiveClass, equals, getConfig, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
public DecimalFormatObjectDescription()
public DecimalFormatObjectDescription(Class className)
className
- the class.public DecimalFormatObjectDescription(Class className, boolean init)
className
- the class.init
- initialisepublic void setParameterFromObject(Object o) throws ObjectFactoryException
setParameterFromObject
in interface ObjectDescription
setParameterFromObject
in class BeanObjectDescription
o
- the object (should be an instance of DecimalFormat
).ObjectFactoryException
- if there is a problem while reading the properties of the given object.public Object createObject()
DecimalFormat
) based on this description.createObject
in interface ObjectDescription
createObject
in class BeanObjectDescription