01: /**
02: *
03: */package net.sf.crispy.impl.jaxrpc;
04:
05: import javax.xml.namespace.QName;
06: import javax.xml.rpc.encoding.DeserializerFactory;
07: import javax.xml.rpc.encoding.SerializerFactory;
08:
09: /**
10: * Factory to create a TypeMapping to transfer of complex object with JAX-RPC.
11: *
12: * @author Linke
13: *
14: */
15: public interface TypeMappingFactory {
16:
17: public static final String PROPERTY_TYPE_MAPPING_FACTORY = "crispy.prop.type.mapping.factory";
18: public static final String PROPERTY_TYPE_MAPPING_FACTORY_2 = "crispy.prop.type.mapping.factory_2";
19: public static final String PROPERTY_TYPE_MAPPING_FACTORY_3 = "crispy.prop.type.mapping.factory_3";
20:
21: /** Class that have to serialize/desirialize. */
22: public Class getJavaType();
23:
24: /** XmlType for Class (mapping) that have to serialize/desirialize. */
25: public QName getXmlType();
26:
27: /** Serializer for the Class/XmlType. */
28: public SerializerFactory getSerializerFactory();
29:
30: /** Deserializer for the Class/XmlType. */
31: public DeserializerFactory getDeserializerFactory();
32:
33: public void setParameter(String pvParams[]);
34:
35: }
|