public abstract class AbstractConfigurationConverter extends java.lang.Object implements ConfigurationConverter
Constructor and Description |
---|
AbstractConfigurationConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
failIfNotTypeCompatible(java.lang.Object value,
java.lang.Class<?> type,
PlexusConfiguration configuration) |
java.lang.Object |
fromConfiguration(ConverterLookup lookup,
PlexusConfiguration configuration,
java.lang.Class<?> type,
java.lang.Class<?> enclosingType,
java.lang.ClassLoader loader,
ExpressionEvaluator evaluator) |
protected java.lang.Object |
fromExpression(PlexusConfiguration configuration,
ExpressionEvaluator evaluator) |
protected java.lang.Object |
fromExpression(PlexusConfiguration configuration,
ExpressionEvaluator evaluator,
java.lang.Class<?> type) |
protected java.lang.String |
fromXML(java.lang.String name) |
protected java.lang.Class<?> |
getClassForImplementationHint(java.lang.Class<?> type,
PlexusConfiguration configuration,
java.lang.ClassLoader loader) |
protected java.lang.Object |
instantiateObject(java.lang.Class<?> type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canConvert, fromConfiguration
public java.lang.Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, java.lang.Class<?> type, java.lang.Class<?> enclosingType, java.lang.ClassLoader loader, ExpressionEvaluator evaluator) throws ComponentConfigurationException
fromConfiguration
in interface ConfigurationConverter
ComponentConfigurationException
protected java.lang.Object fromExpression(PlexusConfiguration configuration, ExpressionEvaluator evaluator) throws ComponentConfigurationException
ComponentConfigurationException
protected java.lang.Object fromExpression(PlexusConfiguration configuration, ExpressionEvaluator evaluator, java.lang.Class<?> type) throws ComponentConfigurationException
ComponentConfigurationException
protected final java.lang.String fromXML(java.lang.String name)
protected final void failIfNotTypeCompatible(java.lang.Object value, java.lang.Class<?> type, PlexusConfiguration configuration) throws ComponentConfigurationException
ComponentConfigurationException
protected final java.lang.Class<?> getClassForImplementationHint(java.lang.Class<?> type, PlexusConfiguration configuration, java.lang.ClassLoader loader) throws ComponentConfigurationException
ComponentConfigurationException
protected final java.lang.Object instantiateObject(java.lang.Class<?> type) throws ComponentConfigurationException
ComponentConfigurationException