Class AbstractCollectionConverter
- java.lang.Object
-
- org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
-
- org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverter
-
- All Implemented Interfaces:
ConfigurationConverter
- Direct Known Subclasses:
ArrayConverter
,CollectionConverter
public abstract class AbstractCollectionConverter extends AbstractConfigurationConverter
-
-
Constructor Summary
Constructors Constructor Description AbstractCollectionConverter()
-
Method Summary
-
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
canConvert, fromConfiguration
-
-
-
-
Method Detail
-
instantiateCollection
protected abstract Collection<Object> instantiateCollection(PlexusConfiguration configuration, Class<?> type, ClassLoader loader) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromChildren
protected final Collection<Object> fromChildren(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, Class<?> elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromChildren
protected final Collection<Object> fromChildren(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, Type elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
getChildType
protected final Class<?> getChildType(PlexusConfiguration childConfiguration, Class<?> enclosingType, ClassLoader loader, Class<?> elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
getChildType
protected final Type getChildType(PlexusConfiguration childConfiguration, Class<?> enclosingType, ClassLoader loader, Type elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
csvToXml
protected static final PlexusConfiguration csvToXml(PlexusConfiguration configuration, String csv)
-
-