1 package net.sf.crispy.impl.jaxrpc.serializer; 2 3 import javax.xml.namespace.QName; 4 5 import org.apache.axis.encoding.ser.SimpleDeserializer; 6 7 public class CharacterDeserializer extends SimpleDeserializer { 8 9 10 private static final long serialVersionUID = -6356586901498317988L; 11 12 13 public CharacterDeserializer(Class pvClass, QName pvQName) { 14 super(pvClass, pvQName); 15 } 16 17 public Object makeValue(String pvSource) throws Exception { 18 return (pvSource == null ? null : new Character(pvSource.charAt(0))); 19 } 20 21 }