com.opensymphony.xwork2.conversion

## Interface TypeConverterCreator

- All Known Implementing Classes:
    DefaultTypeConverterCreator

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