jBrokerTM Web 2.0

com.sssw.jbroker.web.mapping
Interface Serializer

All Known Subinterfaces:
Marshaler

Deprecated. As of jBroker Web 2.0

public interface Serializer

The Serializer interface is used by objects that are capable of serializing a Java Object to a portable output stream.

See Also:
Serializer

Method Summary
 Attribute[] getAttributes(Object obj)
          Deprecated. Get the element attributes
 void serialize(OutputStream os, Object obj)
          Deprecated. Serialize the given object to the given output stream
 

Method Detail

serialize

public void serialize(OutputStream os,
                      Object obj)
               throws IOException
Deprecated. 
Serialize the given object to the given output stream
Parameters:
os - the portable output stream
obj - the object to write
Throws:
IOException - if an I/O exception occurred during write

getAttributes

public Attribute[] getAttributes(Object obj)
Deprecated. 
Get the element attributes
Parameters:
obj - the object that is being serialized
Returns:
an array of attributes for the serialzied object

jBrokerTM Web 2.0

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