org.cateproject.controller.editor
Class DateTimeEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.cateproject.controller.editor.DateTimeEditor
- All Implemented Interfaces:
- PropertyEditor, org.springframework.core.convert.converter.GenericConverter
public class DateTimeEditor
- extends PropertyEditorSupport
- implements org.springframework.core.convert.converter.GenericConverter
| Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter |
org.springframework.core.convert.converter.GenericConverter.ConvertiblePair |
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeEditor
public DateTimeEditor()
setAsText
public void setAsText(String text)
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor- Overrides:
getAsText in class PropertyEditorSupport
convert
public org.joda.time.DateTime convert(String text)
convert
public Object convert(Object obj,
org.springframework.core.convert.TypeDescriptor sourceClass,
org.springframework.core.convert.TypeDescriptor targetClass)
- Specified by:
convert in interface org.springframework.core.convert.converter.GenericConverter
getConvertibleTypes
public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
- Specified by:
getConvertibleTypes in interface org.springframework.core.convert.converter.GenericConverter
Copyright © 2010. All Rights Reserved.