org.codehaus.plexus.component.configurator.converters.composite
Class ArrayConverter
java.lang.Object
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
org.codehaus.plexus.component.configurator.converters.composite.ArrayConverter
- All Implemented Interfaces:
- ConfigurationConverter
public class ArrayConverter
- extends AbstractConfigurationConverter
- Version:
- $Id: ArrayConverter.java 6064 2007-03-13 12:39:55Z trygvis $
- Author:
- Kenney Westerhof
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayConverter
public ArrayConverter()
canConvert
public boolean canConvert(Class type)
fromConfiguration
public Object fromConfiguration(ConverterLookup converterLookup,
org.codehaus.plexus.configuration.PlexusConfiguration configuration,
Class type,
Class baseType,
ClassLoader classLoader,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener)
throws ComponentConfigurationException
- Parameters:
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 expressions
- Returns:
- the object
- Throws:
ComponentConfigurationException
getDefaultCollection
protected Collection getDefaultCollection(Class collectionType)
Copyright © 2001-2009 Codehaus. All Rights Reserved.