- All Implemented Interfaces:
public class XWorkTypeConverterWrapper
- extends Object
- implements TypeConverter
Wraps an OGNL TypeConverter as an XWork TypeConverter
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public XWorkTypeConverterWrapper(ognl.TypeConverter conv)
public Object convertValue(Map context,
- Description copied from interface:
- 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.
- Specified by:
convertValue in interface
context - context under which the conversion is being done
target - target object in which the property is being set
member - member (Constructor, Method or Field) being set
propertyName - property name being set
value - value to be converted
toType - type to which value is converted
- Converted value of type toType or TypeConverter.NoConversionPossible to indicate that the
conversion was not possible.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.