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 private static java.lang.String
alignPackageName(java.lang.String enclosingName, java.lang.String childName)
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.lang.Class<?>
getChildType(PlexusConfiguration childConfiguration, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, java.lang.Class<?> 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, 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
-
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
-
csvToXml
protected static final PlexusConfiguration csvToXml(PlexusConfiguration configuration, java.lang.String csv)
-
alignPackageName
private static java.lang.String alignPackageName(java.lang.String enclosingName, java.lang.String childName)
-
-