org.cateproject.controller.editor
Class ClassPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.cateproject.controller.editor.ClassPropertyEditor
- All Implemented Interfaces:
- PropertyEditor, org.springframework.core.convert.converter.Converter<String,Class>
public class ClassPropertyEditor
- extends PropertyEditorSupport
- implements org.springframework.core.convert.converter.Converter<String,Class>
|
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, 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 |
logger
protected static org.apache.log4j.Logger logger
ClassPropertyEditor
public ClassPropertyEditor()
ClassPropertyEditor
public ClassPropertyEditor(Class superClass)
setAsText
public void setAsText(String text)
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
convert
public Class convert(String text)
- Specified by:
convert in interface org.springframework.core.convert.converter.Converter<String,Class>
Copyright © 2010. All Rights Reserved.