Package org.picocontainer.converters
Class ConvertsNothing
java.lang.Object
org.picocontainer.converters.ConvertsNothing
- All Implemented Interfaces:
Converters
Null-object implementation of Converters
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConvertsNothing
public ConvertsNothing()
-
-
Method Details
-
canConvert
Description copied from interface:Converters
Returns true if a converters is available to convert to the given object type- Specified by:
canConvert
in interfaceConverters
- Parameters:
type
- the object Type to convert to- Returns:
- true if the type can be converted to
-
convert
Description copied from interface:Converters
Converts a particular string value into the target type- Specified by:
convert
in interfaceConverters
- Parameters:
paramValue
- the String value to converttype
- the object Type to convert to- Returns:
- The converted Object instance
-