01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings;
14:
15: import org.wings.io.Device;
16: import org.wings.resource.ResourceNotFoundException;
17:
18: import java.io.IOException;
19:
20: /**
21: * For classes that can be rendered, i.e. can write itself to a Device.
22: *
23: * @author <a href="mailto:H.Zeller@acm.org">Henner Zeller</a>
24: */
25: public interface Renderable {
26: /**
27: * Write this Renderable component to some output device.
28: */
29: void write(Device d) throws IOException, ResourceNotFoundException;
30: }
|