01: /*
02: * snapper
03: *
04: * Enhydra super-servlet presentation object
05: *
06: */
07:
08: package org.enhydra.snapperAdmin.presentation;
09:
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.snapperAdmin.presentation.html.*;
17:
18: // Standard imports
19: import java.io.IOException;
20:
21: public class SitesPresentation implements HttpPresentation {
22:
23: public void run(HttpPresentationComms comms)
24: throws HttpPresentationException, IOException {
25:
26: SitesHTML sites;
27:
28: sites = (SitesHTML) comms.xmlcFactory.create(SitesHTML.class);
29:
30: comms.response.writeDOM(sites);
31: }
32:
33: }
|