1 package net.sf.crispy.impl.jaxrpc;
2
3 import javax.xml.namespace.QName;
4 import javax.xml.rpc.encoding.DeserializerFactory;
5 import javax.xml.rpc.encoding.SerializerFactory;
6
7 import net.sf.crispy.impl.jaxrpc.serializer.CharacterDeserializerFactory;
8 import net.sf.crispy.impl.jaxrpc.serializer.CharacterSerializerFactory;
9
10 import org.apache.axis.Constants;
11
12 public class CharacterTypeMappingFactory implements TypeMappingFactory {
13
14 public Class getJavaType() {
15 return Character.class;
16 }
17
18 public QName getXmlType() {
19 return new QName(Constants.NS_URI_XMLSOAP, "Character");
20 }
21
22 public SerializerFactory getSerializerFactory() {
23 return new CharacterSerializerFactory(getJavaType(), getXmlType());
24 }
25
26 public DeserializerFactory getDeserializerFactory() {
27 return new CharacterDeserializerFactory(getJavaType(), getXmlType());
28 }
29
30 public void setParameter(String[] pvParams) { }
31
32 }