public class RepetitionCollectionConverter
extends org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverter
implements org.codehaus.plexus.component.configurator.converters.ParameterizedConfigurationConverter
List<Map<String,String>>
Most of the code is copied from
CollectionConverter.| Constructor and Description |
|---|
RepetitionCollectionConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
Object |
fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup lookup,
org.codehaus.plexus.configuration.PlexusConfiguration configuration,
Class<?> type,
Type[] typeArguments,
Class<?> enclosingType,
ClassLoader loader,
org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator,
org.codehaus.plexus.component.configurator.ConfigurationListener listener) |
Object |
fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup lookup,
org.codehaus.plexus.configuration.PlexusConfiguration configuration,
Class type,
Class baseType,
ClassLoader loader,
org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator,
org.codehaus.plexus.component.configurator.ConfigurationListener listener) |
protected Collection<Object> |
instantiateCollection(org.codehaus.plexus.configuration.PlexusConfiguration configuration,
Class<?> type,
ClassLoader loader) |
csvToXml, fromChildren, getChildTypefailIfNotTypeCompatible, fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObjectpublic Object fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup lookup, org.codehaus.plexus.configuration.PlexusConfiguration configuration, Class<?> type, Type[] typeArguments, Class<?> enclosingType, ClassLoader loader, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator, org.codehaus.plexus.component.configurator.ConfigurationListener listener) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
fromConfiguration in interface org.codehaus.plexus.component.configurator.converters.ParameterizedConfigurationConverterorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionprotected final Collection<Object> instantiateCollection(org.codehaus.plexus.configuration.PlexusConfiguration configuration, Class<?> type, ClassLoader loader) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
instantiateCollection in class org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverterorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionpublic boolean canConvert(Class type)
canConvert in interface org.codehaus.plexus.component.configurator.converters.ConfigurationConverterpublic Object fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup lookup, org.codehaus.plexus.configuration.PlexusConfiguration configuration, Class type, Class baseType, ClassLoader loader, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator, org.codehaus.plexus.component.configurator.ConfigurationListener listener) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
fromConfiguration in interface org.codehaus.plexus.component.configurator.converters.ConfigurationConverterorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionCopyright © 2022. All rights reserved.