View Javadoc

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