org.jfree.xml.factory.objects
Class CharacterObjectDescription

java.lang.Object
  extended byorg.jfree.xml.factory.objects.AbstractObjectDescription
      extended byorg.jfree.xml.factory.objects.CharacterObjectDescription
All Implemented Interfaces:
java.lang.Cloneable, ObjectDescription

public class CharacterObjectDescription
extends AbstractObjectDescription

An object-description for a Character object.

Author:
Thomas Morgner

Constructor Summary
CharacterObjectDescription()
          Creates a new object description.
 
Method Summary
 java.lang.Object createObject()
          Creates a new object (Character) based on this description object.
 void setParameterFromObject(java.lang.Object o)
          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, setParameter, setParameterDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterObjectDescription

public CharacterObjectDescription()
Creates a new object description.

Method Detail

createObject

public java.lang.Object createObject()
Creates a new object (Character) based on this description object.

Returns:
The Character object.

setParameterFromObject

public void setParameterFromObject(java.lang.Object o)
                            throws ObjectFactoryException
Sets the parameters of this description object to match the supplied object.

Parameters:
o - the object (should be an instance of Character).
Throws:
ObjectFactoryException - if there is a problem while reading the properties of the given object.