public class

ConvertingPropertyEditorAdapter

extends PropertyEditorSupport
java.lang.Object
   ↳ java.beans.PropertyEditorSupport
     ↳ org.springframework.core.convert.support.ConvertingPropertyEditorAdapter

Class Overview

Adapter that exposes a java.beans.PropertyEditor for any given ConversionService and specific target type.

Summary

Public Constructors
ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor)
Create a new ConvertingPropertyEditorAdapter for a given ConversionService and the given target type.
Public Methods
String getAsText()
void setAsText(String text)
[Expand]
Inherited Methods
From class java.beans.PropertyEditorSupport
From class java.lang.Object
From interface java.beans.PropertyEditor

Public Constructors

public ConvertingPropertyEditorAdapter (ConversionService conversionService, TypeDescriptor targetDescriptor)

Also: SpringCore

Create a new ConvertingPropertyEditorAdapter for a given ConversionService and the given target type.

Parameters
conversionService the ConversionService to delegate to
targetDescriptor the target type to convert to

Public Methods

public String getAsText ()

public void setAsText (String text)