com.opensymphony.xwork2.ognl

## Class OgnlTypeConverterWrapper

- java.lang.Object
- - 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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OgnlTypeConverterWrapper(TypeConverter converter)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Constructor Detail

    - #### OgnlTypeConverterWrapper

          public OgnlTypeConverterWrapper(TypeConverter converter)

  - ### 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–2021 Apache Software Foundation. All rights reserved.