package net.kencochrane.raven.marshaller.json;

import com.fasterxml.jackson.core.JsonGenerator;
import net.kencochrane.raven.event.interfaces.SentryInterface;

import java.io.IOException;

public interface InterfaceBinding<T extends SentryInterface> {
    void writeInterface(JsonGenerator generator, T sentryInterface) throws IOException;
}

@@ -187,70 +187,570 @@
 n;%0A%0A
-public interface InterfaceBinding%3CT extends SentryInterface%3E %7B
+/**%0A * An interface binding allows to encore a %7B@link SentryInterface%7D of a specific type into a JSON stream.%0A *%0A * @param %3CT%3E type of %7B@link SentryInterface%7D supported by the binder.%0A */%0Apublic interface InterfaceBinding%3CT extends SentryInterface%3E %7B%0A    /**%0A     * Encodes the content of a sentry interface into a JSON stream.%0A     *%0A     * @param generator       JSON generator allowing to write JSON content.%0A     * @param sentryInterface interface to encode.%0A     * @throws IOException thrown in case of failure during the generation of JSON content.%0A     */
 %0A   

Document InterfaceBinding