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 Object
implements ognl.TypeConverter

Wraps an XWork type conversion class for as an OGNL TypeConverter


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

Field Detail

typeConverter

private TypeConverter typeConverter
Constructor Detail

OgnlTypeConverterWrapper

public OgnlTypeConverterWrapper(TypeConverter conv)
Method Detail

convertValue

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

getTarget

public TypeConverter getTarget()


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