public class DecimalFormatObjectDescription extends BeanObjectDescription
DecimalFormat
object.Constructor and Description |
---|
DecimalFormatObjectDescription()
Creates a new object description.
|
DecimalFormatObjectDescription(java.lang.Class className)
Creates a new object description.
|
DecimalFormatObjectDescription(java.lang.Class className,
boolean init)
Deprecated.
should no longer be used...
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createObject()
Creates an object (
DecimalFormat ) 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 DecimalFormatObjectDescription()
public DecimalFormatObjectDescription(java.lang.Class className)
className
- the class.public DecimalFormatObjectDescription(java.lang.Class className, boolean init)
className
- the class.init
- initialisepublic void setParameterFromObject(java.lang.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 java.lang.Object createObject()
DecimalFormat
) based on this description.createObject
in interface ObjectDescription
createObject
in class BeanObjectDescription