public class StrutsConverterFactory extends Object implements ConverterFactory
Constructor and Description |
---|
StrutsConverterFactory() |
Modifier and Type | Method and Description |
---|---|
TypeConverter |
buildConverter(Class<? extends TypeConverter> converterClass,
Map<String,Object> extraContext)
Build converter of given type
|
void |
setContainer(Container container) |
public void setContainer(Container container)
public TypeConverter buildConverter(Class<? extends TypeConverter> converterClass, Map<String,Object> extraContext) throws Exception
ConverterFactory
buildConverter
in interface ConverterFactory
converterClass
- to instantiateextraContext
- a Map of extra context which uses the same keys as the ActionContext
Exception
- in case of any errorsCopyright © 2000–2020 Apache Software Foundation. All rights reserved.