public interface Deserializer extends java.io.Serializable {
// Public Instance Methods
public abstract String getMechanismType( );
}
A Deserializer is a class that can convert from an
XML fragment into a corresponding Java object or Java primitive. The
deserialization process might accept XML in the form of a SAX stream,
a DOM model, or in some other form. The JAX-RPC specification does
not give a list of supported input types (which it refers to as
mechanism types), but the reference implementation supports
deserialization from a raw input stream of XML characters. The
getMechanismType( ) method returns an identifier
for the input type that the deserializer supports.
The Deserializer interface does not actually
contain a method that causes deserialization to occur. The JAX-RPC
1.0 specification does not attempt to create a standard or portable
deserialization mechanism and therefore does not specify the means by
which deserialization is actually performed. The reference
implementation uses private deserializers that implement the
Deserializer interface and uses methods that are
not part of the public API to invoke them.