|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MessageSerializer
Interface that must be implemented by edge flow message serializers for messages should be automatically serialized by the framework.
A serializer is for a specific java class. When the edge flow framework receives java object that is to be serialized, it looks up serializers based on the object's class type.
| Method Summary | |
|---|---|
Class |
getCollectionClass()
Returns Collection class type that this serializer handles. |
Class |
getMessageClass()
Returns the java class of messages that can be serialized by this serializer. |
Document |
serialize(Object object)
Serializes the given object in to an XML Document. |
void |
serialize(Object object,
Writer writer)
Serializes the given object to the writer provided. |
| Method Detail |
|---|
void serialize(Object object,
Writer writer)
throws com.connecterra.ale.encoding.XMLSerializerException,
IOException
object - The object that is to be serialized.writer - The writer to which the output will be written.
com.connecterra.ale.encoding.XMLSerializerException - If an error occurs trying to serialize the object.
IOException - If an error occurs trying to write to the writer.
NullPointerException - If passed in writer stream or object is null.
Document serialize(Object object)
throws com.connecterra.ale.encoding.XMLSerializerException
object - The object that is to be serialized.
com.connecterra.ale.encoding.XMLSerializerException - If an error occurs trying to serialize the object.
NullPointerException - If passed in writer stream or object is null.Class getMessageClass()
Class getCollectionClass()
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||