public class CollectionConverter extends AbstractConfigurationConverter
| Constructor and Description |
|---|
CollectionConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(java.lang.Class type) |
java.lang.Object |
fromConfiguration(ConverterLookup converterLookup,
PlexusConfiguration configuration,
java.lang.Class type,
java.lang.Class baseType,
java.lang.ClassLoader classLoader,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener) |
protected java.util.Collection |
getDefaultCollection(java.lang.Class collectionType) |
fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXMLpublic boolean canConvert(java.lang.Class type)
public java.lang.Object fromConfiguration(ConverterLookup converterLookup, PlexusConfiguration configuration, java.lang.Class type, java.lang.Class baseType, java.lang.ClassLoader classLoader, ExpressionEvaluator expressionEvaluator, ConfigurationListener listener) throws ComponentConfigurationException
converterLookup - Repository of available converterstype - the type of object to readbaseType - the type of object the the source isclassLoader - ClassLoader which should be used for loading classesexpressionEvaluator - the expression evaluator to use for expressionsComponentConfigurationExceptionprotected java.util.Collection getDefaultCollection(java.lang.Class collectionType)