Package org.jfree.xml.factory.objects
Class CharacterObjectDescription
java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.CharacterObjectDescription
- All Implemented Interfaces:
Serializable
,Cloneable
,ObjectDescription
An object-description for a
Character
object.- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new object (Character
) based on this description object.boolean
Tests for equality.int
hashCode()
Returns a hash code for the object.void
Sets the parameters of this description object to match the supplied object.Methods inherited from class org.jfree.xml.factory.objects.AbstractObjectDescription
configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
-
Constructor Details
-
CharacterObjectDescription
public CharacterObjectDescription()Creates a new object description.
-
-
Method Details
-
createObject
Creates a new object (Character
) based on this description object.- Returns:
- The
Character
object.
-
setParameterFromObject
Sets the parameters of this description object to match the supplied object.- Parameters:
o
- the object (should be an instance ofCharacter
).- Throws:
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
-
equals
Tests for equality.- Specified by:
equals
in interfaceObjectDescription
- Overrides:
equals
in classAbstractObjectDescription
- Parameters:
o
- the object to test.- Returns:
- A boolean.
-
hashCode
Returns a hash code for the object.- Specified by:
hashCode
in interfaceObjectDescription
- Overrides:
hashCode
in classAbstractObjectDescription
- Returns:
- The hash code.
-