Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.factory
Class DefaultConverterFactory

    java.lang.Object
      com.opensymphony.xwork2.factory.DefaultConverterFactory

All Implemented Interfaces:
  ConverterFactory

    public class DefaultConverterFactory

extends Object
implements ConverterFactory

Default implementation

Constructor Summary
`DefaultConverterFactory()`

Method Summary
`TypeConverter` | `buildConverter(Class<? extends TypeConverter> converterClass, Map<String,Object> extraContext)` Build converter of given type
`void` | `setContainer(Container container)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultConverterFactory

    public DefaultConverterFactory()

Method Detail

### setContainer

    public void setContainer(Container container)

### buildConverter

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

  Description copied from interface: `ConverterFactory`
  Build converter of given type

  Specified by:
    `buildConverter` in interface `ConverterFactory`
  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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