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 booleancanConvert(java.lang.Class<?> type)java.lang.ObjectfromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)java.lang.ObjectfromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.reflect.Type[] typeArguments, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)protected java.util.Collection<java.lang.Object>instantiateCollection(PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.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(java.lang.Class<?> type)
- Specified by:
canConvertin interfaceConfigurationConverter
-
fromConfiguration
public java.lang.Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
fromConfigurationin interfaceConfigurationConverter- Throws:
ComponentConfigurationException
-
fromConfiguration
public java.lang.Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.reflect.Type[] typeArguments, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
fromConfigurationin interfaceParameterizedConfigurationConverter- Throws:
ComponentConfigurationException
-
instantiateCollection
protected final java.util.Collection<java.lang.Object> instantiateCollection(PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.ClassLoader loader)
- Specified by:
instantiateCollectionin classAbstractCollectionConverter
-
-