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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static final PlexusConfiguration
csvToXml
(PlexusConfiguration configuration, String csv) protected final Collection
<Object> fromChildren
(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, Class<?> elementType) protected final Collection
<Object> fromChildren
(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener, Type elementType) protected final Class
<?> getChildType
(PlexusConfiguration childConfiguration, Class<?> enclosingType, ClassLoader loader, Class<?> elementType) protected final Type
getChildType
(PlexusConfiguration childConfiguration, Class<?> enclosingType, ClassLoader loader, Type elementType) protected abstract Collection
<Object> instantiateCollection
(PlexusConfiguration configuration, Class<?> type, 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
-
Constructor Details
-
AbstractCollectionConverter
public AbstractCollectionConverter()
-
-
Method Details
-
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
-