Novell exteNd Web Services SDK API

com.sssw.jbroker.web.encoding
Interface Deserializer

All Superinterfaces:
Deserializer, Serializable
All Known Subinterfaces:
Marshaler
All Known Implementing Classes:
BeanMarshaler, PublicFieldsMarshaler, ValueTypeMarshaler

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

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.