* @see WireParser
*/
public class CharBinding extends BasicTypeBinding {
protected AbstractDescriptor createDescriptor(String value) {
CharacterDescriptor characterDescriptor = new CharacterDescriptor();
if (value.length()!=1) {
throw new IllegalArgumentException("length of value must be 1");
}
char c = value.charAt(0);
characterDescriptor.setValue(new Character(c));
return characterDescriptor;
}