1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package javax.xml.rpc.encoding;
17
18 /**
19 * The javax.xml.rpc.encoding.DeserializerFactory is a factory of
20 * deserializers. A DeserializerFactory is registered with a
21 * TypeMapping instance as part of the TypeMappingRegistry.
22 *
23 * @version 1.0
24 */
25 public interface DeserializerFactory extends java.io.Serializable {
26
27 /**
28 * Returns a Deserializer for the specified XML processing mechanism type.
29 *
30 * @param mechanismType XML processing mechanism type [TBD: definition of
31 * valid constants]
32 *
33 * @return a Deserializer for the specified XML processing mechanism type
34 *
35 * @throws javax.xml.rpc.JAXRPCException if DeserializerFactory does not
36 * support the specified XML processing mechanism
37 */
38 public Deserializer getDeserializerAs(String mechanismType);
39
40 /**
41 * Returns an <code>Iterator</code> over the list of all XML processing
42 * mechanism types supported by this <code>DeserializerFactory</code>.
43 *
44 * @return an <code>Iterator</code> over the unique identifiers for the
45 * supported XML processing mechanism types (as
46 * <code>String</code>s?)
47 */
48 public java.util.Iterator getSupportedMechanismTypes();
49 }
50