public class CollectionConverter extends AbstractConfigurationConverter
Constructor and Description |
---|
CollectionConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type) |
Object |
fromConfiguration(ConverterLookup converterLookup,
PlexusConfiguration configuration,
Class type,
Class baseType,
ClassLoader classLoader,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener) |
protected Collection |
getDefaultCollection(Class collectionType) |
fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXML
public boolean canConvert(Class type)
public Object fromConfiguration(ConverterLookup converterLookup, PlexusConfiguration configuration, Class type, Class baseType, 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 expressionsComponentConfigurationException
protected Collection getDefaultCollection(Class collectionType)
Copyright © 2001-2016 Codehaus. All Rights Reserved.