@@ -0,0 +1,852 @@
+package org.openengsb.util.serialization;%0A%0Aimport java.io.Reader;%0Aimport java.io.Writer;%0A%0Aimport javax.xml.bind.JAXBContext;%0Aimport javax.xml.bind.JAXBException;%0Aimport javax.xml.bind.Marshaller;%0Aimport javax.xml.bind.Unmarshaller;%0A%0Apublic class JaxbHelper %7B%0A    @SuppressWarnings(%22unchecked%22)%0A    public static %3CT%3E T unmarshal(Class%3CT%3E docClass, Reader reader) throws JAXBException %7B%0A        String packageName = docClass.getPackage().getName();%0A        JAXBContext jc = JAXBContext.newInstance(packageName);%0A        Unmarshaller u = jc.createUnmarshaller();%0A        return (T) u.unmarshal(reader);%0A    %7D%0A%0A    public static void marshal(Object doc, Writer writer) throws JAXBException %7B%0A        JAXBContext context1 = JAXBContext.newInstance(doc.getClass());%0A        Marshaller m = context1.createMarshaller();%0A        m.marshal(doc, writer);%0A    %7D%0A%7D%0A

add static JaxbHelper for quick marshaling action