@@ -0,0 +1,1980 @@
+/*%0A * Copyright (c) 2013 Red Rainbow IT Solutions GmbH, Germany%0A *%0A * Permission is hereby granted, free of charge, to any person obtaining a copy of%0A * this software and associated documentation files (the %22Software%22), to deal in%0A * the Software without restriction, including without limitation the rights to%0A * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of%0A * the Software, and to permit persons to whom the Software is furnished to do so,%0A * subject to the following conditions:%0A * %0A * The above copyright notice and this permission notice shall be included in all%0A * copies or substantial portions of the Software.%0A * %0A * THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR%0A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS%0A * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR%0A * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER%0A * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN%0A * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.%0A */%0A%0Apackage org.jeeventstore.core.serialization;%0A%0Aimport java.io.Serializable;%0Aimport java.util.List;%0A%0A/**%0A * Provides the ability to serialize and deserialize events.%0A * %0A * @author Alexander Langer%0A */%0Apublic interface EventSerializer %7B%0A    %0A    /**%0A     * Serializes a list of events and returns a serialized representation.%0A     * %0A     * @param events The list of events to be serialized.%0A     * @return A %7B@link String%7D representation of the serialized events.%0A     */%0A    String serialize(List%3C? extends Serializable%3E events);%0A%0A    /**%0A     * Deserializes the String provided and reconstructs the corresponding %0A     * list of events.%0A     * @param body The %7B@link String%7D from which the list of events will be reconstructed.%0A     * @return The reconstructed list.%0A     */%0A    List%3C? extends Serializable%3E deserialize(String body);%0A%0A%7D

Add EventSerializer interface