KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > poker > presentation > main > HelpPresentation


1 /*
2  * Poker
3  *
4  * Enhydra super-servlet presentation object
5  *
6  */

7
8 package poker.presentation.main;
9
10 // Enhydra SuperServlet imports
11
import com.lutris.appserver.server.httpPresentation.HttpPresentation;
12 import com.lutris.appserver.server.httpPresentation.HttpPresentationComms;
13 import com.lutris.appserver.server.httpPresentation.HttpPresentationException;
14
15
16 public class HelpPresentation implements HttpPresentation {
17
18
19   public void run(HttpPresentationComms comms)
20                       throws HttpPresentationException {
21
22     HelpHTML help;
23
24     help = (HelpHTML)comms.xmlcFactory.create(HelpHTML.class);
25     comms.response.writeDOM(help);
26   }
27
28 }
29
Popular Tags