Class DateObjectDescription

java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.DateObjectDescription
All Implemented Interfaces:
Serializable, Cloneable, ObjectDescription

public class DateObjectDescription extends AbstractObjectDescription
An object-description for a Date object.
See Also:
  • Constructor Details

    • DateObjectDescription

      public DateObjectDescription()
      Creates a new object description.
  • Method Details

    • createObject

      public Object createObject()
      Creates an object based on this description.
      Returns:
      The object.
    • getIntParameter

      private int getIntParameter(String param)
      Returns a parameter value as an int.
      Parameters:
      param - the parameter name.
      Returns:
      The parameter value.
    • setParameterFromObject

      public void setParameterFromObject(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 Date).
      Throws:
      ObjectFactoryException - if the object is not an instance of Date.