git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1936 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald 2009-09-18 20:41:15 +00:00
parent aa9794526d
commit 26ff01d23b
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public interface ConversionService {
/**
* Returns true if objects of sourceType can be converted to the targetType.
* The TypeDescriptors provide additional context about the variable locations where conversion would occur, often object property locations.
* This flavor of the canConvert operation is mainly for use by a data binding framework, and not by user code.
* This flavor of the canConvert operation is mainly for use by a data mapping framework, and not by user code.
* @param source context about the source type to convert from (required)
* @param targetType context about the target type to convert to (required)
* @return true if a conversion can be performed between the source and target types, false if not
@ -55,7 +55,7 @@ public interface ConversionService {
/**
* Convert the source to targetTyp.
* The TypeDescriptors provide additional context about the variable locations where conversion will occur, often object property locations.
* This flavor of the convert operation is mainly for use by a data binding framework, and not by user code.
* This flavor of the convert operation is mainly for use by a data mapping framework, and not by user code.
* @param source the source to convert from (may be null)
* @param sourceType context about the source type to convert from (required)
* @param targetType context about the target type to convert to (required)