jBrokerTM Web 2.0

com.sssw.jbroker.web.encoding
Interface Deserializer

All Superinterfaces:
Deserializer, Serializable
All Known Subinterfaces:
Marshaler

public interface Deserializer
extends Deserializer

The Deserializer interface is used by objects that are capable of deserializing a Java Object from a portable input stream.

Since:
jBroker Web 2.0

Method Summary
 Object deserialize(InputStream is, Class javaType)
          Initialize the given object from the given input stream
 
Methods inherited from interface javax.xml.rpc.encoding.Deserializer
getMechanismType
 

Method Detail

deserialize

public Object deserialize(InputStream is,
                          Class javaType)
                   throws IOException
Initialize the given object from the given input stream
Parameters:
is - the input stream to read object from
javaType - the expected Java type
Returns:
a newly created object initialized from stream
Throws:
IOException - if an I/O exception occurred duing read

jBrokerTM Web 2.0

jBroker is a registered trademark of SilverStream Software, Inc.
Copyright © 2001-2002 SilverStream Software, Inc. All Rights Reserved.