01: /* Interpretation.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Sat Sep 17 12:10:43 2005, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2004 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.web.servlet.dsp;
20:
21: import java.io.IOException;
22:
23: /**
24: * Defines an interpretation of a DSP page.
25: * It is a parsed result of a DSP page by use of {@link Interpreter#parse}.
26: *
27: * @author tomyeh
28: */
29: public interface Interpretation {
30: /** Interprets this interpretation of a DSP page, and generates
31: * the result to the output specified in {@link DspContext}.
32: *
33: * @param dc the interpreter context; never null.
34: */
35: public void interpret(DspContext dc)
36: throws javax.servlet.ServletException, IOException;
37: }
|