Package org.jfree.xml.factory.objects
Class SimpleDateFormatObjectDescription
java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.BeanObjectDescription
org.jfree.xml.factory.objects.SimpleDateFormatObjectDescription
- All Implemented Interfaces:
Serializable
,Cloneable
,ObjectDescription
An object-description for a
SimpleDateFormat
object.- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object description.SimpleDateFormatObjectDescription
(Class className) Creates a new object description.SimpleDateFormatObjectDescription
(Class className, boolean init) Creates a new object description. -
Method Summary
Modifier and TypeMethodDescriptionCreates an object 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
-
SimpleDateFormatObjectDescription
public SimpleDateFormatObjectDescription()Creates a new object description. -
SimpleDateFormatObjectDescription
Creates a new object description.- Parameters:
className
- the class.
-
SimpleDateFormatObjectDescription
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.- Throws:
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
-
createObject
Creates an object based on this description.- Specified by:
createObject
in interfaceObjectDescription
- Overrides:
createObject
in classBeanObjectDescription
- Returns:
- The object.
-