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
,StringBuilderConverter
,StringConverter
,TemporalConverter
,UriConverter
,UrlConverter
public abstract class AbstractBasicConverter extends AbstractConfigurationConverter
-
-
Constructor Summary
Constructors Constructor Description AbstractBasicConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)
protected Object
fromExpression(PlexusConfiguration configuration, ExpressionEvaluator evaluator, Class<?> type)
protected Object
fromString(String str)
protected Object
fromString(String str, Class<?> type)
-
Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromXML, getClassForImplementationHint, instantiateObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.plexus.component.configurator.converters.ConfigurationConverter
canConvert
-
-
-
-
Method Detail
-
fromConfiguration
public Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromString
protected Object fromString(String str, Class<?> type) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromString
protected Object fromString(String str) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
fromExpression
protected Object fromExpression(PlexusConfiguration configuration, ExpressionEvaluator evaluator, Class<?> type) throws ComponentConfigurationException
- Overrides:
fromExpression
in classAbstractConfigurationConverter
- Throws:
ComponentConfigurationException
-
-