KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > snapper > presentation > SitesPresentation


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

7
8 package org.enhydra.snapper.presentation;
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 // Enhydra SuperServlet specification imports
16
import org.enhydra.snapper.presentation.html.*;
17
18 // Standard imports
19
import java.io.IOException JavaDoc;
20
21 public class SitesPresentation implements HttpPresentation {
22
23
24     public void run(HttpPresentationComms comms)
25         throws HttpPresentationException, IOException JavaDoc {
26
27         SitesHTML sites;
28
29         sites = (SitesHTML)comms.xmlcFactory.create(SitesHTML.class);
30
31         comms.response.writeDOM(sites);
32     }
33
34 }
35
Popular Tags