org.apache.geronimo.common.propertyeditor
Class DateEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
          extended byorg.apache.geronimo.common.propertyeditor.DateEditor
All Implemented Interfaces:
PropertyEditor

public class DateEditor
extends TextPropertyEditorSupport

A property editor for Date typed properties.

Version:
$Rev: 356022 $

Constructor Summary
DateEditor()
           
 
Method Summary
 Object getValue()
          Convert the text value of the property into a Date object instance.
 
Methods inherited from class org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEditor

public DateEditor()
Method Detail

getValue

public Object getValue()
Convert the text value of the property into a Date object instance.

Returns:
a Date object constructed from the property text value.
Throws:
PropertyEditorException - Unable to parse the string value into a Date.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.