public class CharacterValueConverter extends Converter<java.lang.String>
EMPTY_CONVERTER, INTEGER_CONVERTER
Constructor and Description |
---|
CharacterValueConverter(boolean allowEmpty) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fromString(java.lang.String s,
ConvertContext context) |
java.lang.String |
getErrorMessage(java.lang.String s,
ConvertContext context) |
java.lang.String |
toString(java.lang.String s,
ConvertContext context) |
public java.lang.String fromString(java.lang.String s, ConvertContext context)
fromString
in class Converter<java.lang.String>
public java.lang.String toString(java.lang.String s, ConvertContext context)
public java.lang.String getErrorMessage(java.lang.String s, ConvertContext context)
getErrorMessage
in class Converter<java.lang.String>
s
- string value that couldn't be resolvedcontext
- context