org.codehaus.plexus.component.configurator.converters.composite
Class ObjectWithFieldsConverter
java.lang.Object
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter
- All Implemented Interfaces:
- ConfigurationConverter
public class ObjectWithFieldsConverter
- extends AbstractConfigurationConverter
- Version:
- $Id: ObjectWithFieldsConverter.java 2634 2005-10-08 06:33:08Z brett $
- Author:
- Michal Maczka
Method Summary |
boolean |
canConvert(Class type)
|
Object |
fromConfiguration(ConverterLookup converterLookup,
PlexusConfiguration configuration,
Class type,
Class baseType,
ClassLoader classLoader,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener)
|
void |
processConfiguration(ConverterLookup converterLookup,
Object object,
ClassLoader classLoader,
PlexusConfiguration configuration)
|
void |
processConfiguration(ConverterLookup converterLookup,
Object object,
ClassLoader classLoader,
PlexusConfiguration configuration,
ExpressionEvaluator expressionEvaluator)
|
void |
processConfiguration(ConverterLookup converterLookup,
Object object,
ClassLoader classLoader,
PlexusConfiguration configuration,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectWithFieldsConverter
public ObjectWithFieldsConverter()
canConvert
public boolean canConvert(Class type)
- Parameters:
type
-
- Returns:
fromConfiguration
public Object fromConfiguration(ConverterLookup converterLookup,
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
processConfiguration
public void processConfiguration(ConverterLookup converterLookup,
Object object,
ClassLoader classLoader,
PlexusConfiguration configuration)
throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
processConfiguration
public void processConfiguration(ConverterLookup converterLookup,
Object object,
ClassLoader classLoader,
PlexusConfiguration configuration,
ExpressionEvaluator expressionEvaluator)
throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
processConfiguration
public void processConfiguration(ConverterLookup converterLookup,
Object object,
ClassLoader classLoader,
PlexusConfiguration configuration,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener)
throws ComponentConfigurationException
- Throws:
ComponentConfigurationException