org.codehaus.plexus.component.configurator.converters.basic
Class AbstractBasicConverter
java.lang.Object
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
org.codehaus.plexus.component.configurator.converters.basic.AbstractBasicConverter
- All Implemented Interfaces:
- ConfigurationConverter
- Direct Known Subclasses:
- BooleanConverter, ByteConverter, CharConverter, ClassConverter, DateConverter, DoubleConverter, FileConverter, FloatConverter, IntConverter, LongConverter, ShortConverter, StringBufferConverter, StringConverter, UrlConverter
public abstract class AbstractBasicConverter
- extends AbstractConfigurationConverter
- Version:
- $Id: AbstractBasicConverter.java 6585 2007-07-04 17:37:22Z kenney $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBasicConverter
public AbstractBasicConverter()
fromString
protected abstract Object fromString(String str)
throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
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
Copyright © 2001-2010 Codehaus. All Rights Reserved.