com.opensymphony.xwork2.conversion

## Interface TypeConverterCreator

- All Known Implementing Classes:
    StrutsTypeConverterCreator

      public interface TypeConverterCreator

  Instantiate converter classes, if cannot create TypeConverter throws exception

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `TypeConverter` | `createTypeConverter(Class<?> clazz)` Creates `TypeConverter` from given class
    `TypeConverter` | `createTypeConverter(String className)` Creates `TypeConverter` from given class

- - ### Method Detail

    - #### createTypeConverter

          TypeConverter createTypeConverter(String className)
                                     throws Exception

      Creates `TypeConverter` from given class
      Parameters:
        `className` - convert class
      Returns:
        instance of `TypeConverter`
      Throws:
        `Exception` - when cannot create/cast to `TypeConverter`

    - #### createTypeConverter

          TypeConverter createTypeConverter(Class<?> clazz)
                                     throws Exception

      Creates `TypeConverter` from given class
      Parameters:
        `clazz` - convert class
      Returns:
        instance of `TypeConverter`
      Throws:
        `Exception` - when cannot create/cast to `TypeConverter`

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.