com.opensymphony.xwork2.factory

## Interface ConverterFactory

- All Known Implementing Classes:
    StrutsConverterFactory

      public interface ConverterFactory

  Dedicated interface used by `ObjectFactory` to build `TypeConverter`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `TypeConverter` | `buildConverter(Class<? extends TypeConverter> converterClass, Map<String,Object> extraContext)` Build converter of given type

- - ### Method Detail

    - #### buildConverter

          TypeConverter buildConverter(Class<? extends TypeConverter> converterClass,
                                       Map<String,Object> extraContext)
                                throws Exception

      Build converter of given type
      Parameters:
        `converterClass` - to instantiate
        `extraContext` - a Map of extra context which uses the same keys as the `ActionContext`
      Returns:
        instance of converterClass with inject dependencies
      Throws:
        `Exception` - in case of any errors

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