|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
org.springframework.core.convert.support.ConvertingPropertyEditorAdapter
public class ConvertingPropertyEditorAdapter
Adapter that exposes a PropertyEditor
for any given
ConversionService
and specific target type.
Constructor Summary | |
---|---|
ConvertingPropertyEditorAdapter(ConversionService conversionService,
TypeDescriptor targetDescriptor)
Create a new ConvertingPropertyEditorAdapter for a given ConversionService
and the given target type. |
Method Summary | |
---|---|
java.lang.String |
getAsText()
|
void |
setAsText(java.lang.String text)
|
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 |
Constructor Detail |
---|
public ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor)
ConversionService
and the given target type.
conversionService
- the ConversionService to delegate totargetDescriptor
- the target type to convert toMethod Detail |
---|
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |