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
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static PlexusConfiguration
csvToXml(PlexusConfiguration configuration, java.lang.String csv)
protected java.util.Collection<java.lang.Object>
fromChildren(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, java.lang.Class<?> elementType)
protected java.util.Collection<java.lang.Object>
fromChildren(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, java.lang.reflect.Type elementType)
protected java.lang.Class<?>
getChildType(PlexusConfiguration childConfiguration, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, java.lang.Class<?> elementType)
protected java.lang.reflect.Type
getChildType(PlexusConfiguration childConfiguration, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, java.lang.reflect.Type elementType)
protected abstract 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.AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, 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 java.util.Collection<java.lang.Object> instantiateCollection(PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.ClassLoader loader) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromChildren
protected final java.util.Collection<java.lang.Object> fromChildren(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, java.lang.Class<?> elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromChildren
protected final java.util.Collection<java.lang.Object> fromChildren(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, java.lang.reflect.Type elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
getChildType
protected final java.lang.Class<?> getChildType(PlexusConfiguration childConfiguration, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, java.lang.Class<?> elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
getChildType
protected final java.lang.reflect.Type getChildType(PlexusConfiguration childConfiguration, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, java.lang.reflect.Type elementType) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
csvToXml
protected static final PlexusConfiguration csvToXml(PlexusConfiguration configuration, java.lang.String csv)
-
-