com.opensymphony.xwork2.ognl
Class OgnlTypeConverterWrapper

java.lang.Object
  extended by com.opensymphony.xwork2.ognl.OgnlTypeConverterWrapper
All Implemented Interfaces:
ognl.TypeConverter

public class OgnlTypeConverterWrapper
extends java.lang.Object
implements ognl.TypeConverter

Wraps an XWork type conversion class for as an OGNL TypeConverter


Constructor Summary
OgnlTypeConverterWrapper(TypeConverter conv)
           
 
Method Summary
 java.lang.Object convertValue(java.util.Map context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName, java.lang.Object value, java.lang.Class toType)
           
 TypeConverter getTarget()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OgnlTypeConverterWrapper

public OgnlTypeConverterWrapper(TypeConverter conv)
Method Detail

convertValue

public java.lang.Object convertValue(java.util.Map context,
                                     java.lang.Object target,
                                     java.lang.reflect.Member member,
                                     java.lang.String propertyName,
                                     java.lang.Object value,
                                     java.lang.Class toType)
Specified by:
convertValue in interface ognl.TypeConverter

getTarget

public TypeConverter getTarget()


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.