Package org.jfree.xml.factory.objects
Class DecimalFormatObjectDescription
java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.BeanObjectDescription
org.jfree.xml.factory.objects.DecimalFormatObjectDescription
- All Implemented Interfaces:
Serializable
,Cloneable
,ObjectDescription
An object-description for a
DecimalFormat
object.- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object description.DecimalFormatObjectDescription
(Class className) Creates a new object description.DecimalFormatObjectDescription
(Class className, boolean init) Deprecated.should no longer be used... -
Method Summary
Modifier and TypeMethodDescriptionCreates an object (DecimalFormat
) based on this description.void
Sets the parameters of this description object to match the supplied object.Methods inherited from class org.jfree.xml.factory.objects.BeanObjectDescription
ignoreParameter, isParameterIgnored
Methods inherited from class org.jfree.xml.factory.objects.AbstractObjectDescription
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
-
Constructor Details
-
DecimalFormatObjectDescription
public DecimalFormatObjectDescription()Creates a new object description. -
DecimalFormatObjectDescription
Creates a new object description.- Parameters:
className
- the class.
-
DecimalFormatObjectDescription
Deprecated.should no longer be used...Creates a new object description.- Parameters:
className
- the class.init
- initialise
-
-
Method Details
-
setParameterFromObject
Sets the parameters of this description object to match the supplied object.- Specified by:
setParameterFromObject
in interfaceObjectDescription
- Overrides:
setParameterFromObject
in classBeanObjectDescription
- Parameters:
o
- the object (should be an instance ofDecimalFormat
).- Throws:
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
-
createObject
Creates an object (DecimalFormat
) based on this description.- Specified by:
createObject
in interfaceObjectDescription
- Overrides:
createObject
in classBeanObjectDescription
- Returns:
- The object.
-