Author: simonetripodi
Date: Sat May 14 12:20:34 2011
New Revision: 1103084
URL: http://svn.apache.org/viewvc?rev=1103084&view=rev
Log:
minor format
Modified:
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java
Modified:
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java
URL:
http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java?rev=1103084&r1=1103083&r2=1103084&view=diff
==============================================================================
---
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java
(original)
+++
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java
Sat May 14 12:20:34 2011
@@ -24,24 +24,26 @@ import java.util.Map;
/**
* Interface for accessing the type conversion facilities within a context.
+ *
* @author Luke Blanshard ([email protected])
* @author Drew Davidson ([email protected])
*/
public interface TypeConverter
{
+
/**
- * Converts the given value to a given type. The OGNL context, target,
member and
- * name of property being set are given. This method should be able to
handle
- * conversion in general without any context, target, member or property
name specified.
- * @param context OGNL context under which the conversion is being done
- * @param target target object in which the property is being set
- * @param member member (Constructor, Method or Field) being set
- * @param propertyName property name being set
- * @param value value to be converted
- * @param toType type to which value is converted
- * @return Converted value of type toType or
TypeConverter.NoConversionPossible to indicate that the
- conversion was not possible.
+ * Converts the given value to a given type. The OGNL context, target,
member and
+ * name of property being set are given. This method should be able to
handle
+ * conversion in general without any context, target, member or property
name specified.
+ * @param context OGNL context under which the conversion is being done
+ * @param target target object in which the property is being set
+ * @param member member (Constructor, Method or Field) being set
+ * @param propertyName property name being set
+ * @param value value to be converted
+ * @param toType type to which value is converted
+ * @return Converted value of type toType or
TypeConverter.NoConversionPossible to indicate that the
+ * conversion was not possible.
*/
- public Object convertValue(Map context, Object target, Member member,
String propertyName, Object value, Class toType);
-}
+ Object convertValue( Map context, Object target, Member member, String
propertyName, Object value, Class toType );
+}