Class ArrayConverter
- java.lang.Object
-
- org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
-
- org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverter
-
- org.codehaus.plexus.component.configurator.converters.composite.ArrayConverter
-
- All Implemented Interfaces:
ConfigurationConverter
,ParameterizedConfigurationConverter
public class ArrayConverter extends AbstractCollectionConverter implements ParameterizedConfigurationConverter
-
-
Constructor Summary
Constructors Constructor Description ArrayConverter()
-
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)
protected Collection<Object>
instantiateCollection(PlexusConfiguration configuration, Class<?> type, ClassLoader loader)
-
Methods inherited from class org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverter
csvToXml, fromChildren, fromChildren, getChildType, getChildType
-
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
-
instantiateCollection
protected final Collection<Object> instantiateCollection(PlexusConfiguration configuration, Class<?> type, ClassLoader loader)
- Specified by:
instantiateCollection
in classAbstractCollectionConverter
-
-