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 PlexusConfigurationcsvToXml(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 TypegetChildType(PlexusConfiguration childConfiguration, Class<?> enclosingType, ClassLoader loader, Type elementType) protected abstract Collection<Object> instantiateCollection(PlexusConfiguration configuration, Class<?> type, ClassLoader loader) Methods inherited from class AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObjectMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-