Interface RuleParameterValueConverter
-
- All Known Implementing Classes:
DefaultRuleParameterValueConverter
public interface RuleParameterValueConverterConverter for primitive types and some other supported types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectfromString(java.lang.String value, java.lang.String type)Converts from String to the required type.java.lang.StringtoString(java.lang.Object value)Converts from the required type to String.
-
-
-
Method Detail
-
toString
java.lang.String toString(java.lang.Object value)
Converts from the required type to String.- Parameters:
value- - the value to be converted to string- Returns:
- the required type converted to String
-
fromString
java.lang.Object fromString(java.lang.String value, java.lang.String type)Converts from String to the required type.- Parameters:
value- - the string value to be converted- Returns:
- the converted value from string to the required type
-
-