org.codehaus.waffle.serialisation
Interface Serialiser

All Known Implementing Classes:
XStreamSerialiser

public interface Serialiser

Serialiser is responsible for serialiasing objects.

Author:
Mauro Talevi

Method Summary
 void marshall(java.lang.Object object, java.io.Writer writer)
          Marshalls object to a writer
 java.lang.Object unmarshall(java.io.Reader reader)
          Unmarshalls object from reader input
 

Method Detail

marshall

void marshall(java.lang.Object object,
              java.io.Writer writer)
Marshalls object to a writer

Parameters:
object - the Object to marshall
writer - the writer to which the object is marshalled

unmarshall

java.lang.Object unmarshall(java.io.Reader reader)
Unmarshalls object from reader input

Parameters:
reader - the input resource
Returns:
An unmarshalled Object


Copyright © 2007 null. All Rights Reserved.