annotate findbugs-wtf/src/main/java/de/iobjects/render/Renderer.java @ 21:e1a9127a7d57

add sample code for writing into LDAP
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 25 Oct 2016 14:56:08 +0000
parents 9436877e9b54
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
1 package de.iobjects.render;
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
2
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
3 import java.io.IOException;
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
4 import java.io.Writer;
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
5
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
6 import de.iobjects.widget.AbstractWidget;
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
7
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
8 public interface Renderer<T extends AbstractWidget>
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
9 {
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
10 void beginRender(T widget, Writer writer) throws IOException;
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
11
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
12 void endRender(T widget, Writer writer) throws IOException;
9436877e9b54 added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff changeset
13 }