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.voidSets the parameters of this description object to match the supplied object.Methods inherited from class org.jfree.xml.factory.objects.BeanObjectDescription
ignoreParameter, isParameterIgnoredMethods 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:
setParameterFromObjectin interfaceObjectDescription- Overrides:
setParameterFromObjectin 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:
createObjectin interfaceObjectDescription- Overrides:
createObjectin classBeanObjectDescription- Returns:
- The object.
-