Class MapConverter
- java.lang.Object
-
- org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
-
- org.codehaus.plexus.component.configurator.converters.composite.MapConverter
-
- All Implemented Interfaces:
ConfigurationConverter
,ParameterizedConfigurationConverter
public class MapConverter extends AbstractConfigurationConverter implements ParameterizedConfigurationConverter
-
-
Constructor Summary
Constructors Constructor Description MapConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(Class<?> type)
Object
fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)
Object
fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Type[] typeArguments, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)
-
Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.plexus.component.configurator.converters.ConfigurationConverter
fromConfiguration
-
-
-
-
Method Detail
-
canConvert
public boolean canConvert(Class<?> type)
- Specified by:
canConvert
in interfaceConfigurationConverter
-
fromConfiguration
public Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
fromConfiguration
in interfaceConfigurationConverter
- Throws:
ComponentConfigurationException
-
fromConfiguration
public Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Type[] typeArguments, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
fromConfiguration
in interfaceParameterizedConfigurationConverter
- Throws:
ComponentConfigurationException
-
-