org.codehaus.plexus.component.configurator.converters.basic
public abstract class AbstractBasicConverter extends AbstractConfigurationConverter
Constructor and Description |
---|
AbstractBasicConverter() |
Modifier and Type | Method and Description |
---|---|
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.lang.Object |
fromExpression(PlexusConfiguration configuration,
ExpressionEvaluator expressionEvaluator,
java.lang.Class type) |
protected abstract java.lang.Object |
fromString(java.lang.String str) |
fromConfiguration, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXML
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canConvert
protected abstract java.lang.Object fromString(java.lang.String str) throws ComponentConfigurationException
ComponentConfigurationException
protected java.lang.Object fromExpression(PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator, java.lang.Class type) throws ComponentConfigurationException
fromExpression
in class AbstractConfigurationConverter
ComponentConfigurationException
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 expressionsComponentConfigurationException