KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > golfShop > presentation > xmlc > main > Main


1 /*
2  * Enhydra Java Application Server
3  * The Initial Developer of the Original Code is Lutris Technologies Inc.
4  * Portions created by Lutris are Copyright (C) 1997-2000 Lutris Technologies
5  * Inc.
6  * All Rights Reserved.
7  *
8  * The contents of this file are subject to the Enhydra Public License Version
9  * 1.0 (the "License"); you may not use this file except in compliance with the
10  * License. You may obtain a copy of the License at
11  * http://www.enhydra.org/software/license/epl.html
12  *
13  * Software distributed under the License is distributed on an "AS IS" basis,
14  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
15  * License for the specific language governing rights and limitations under the
16  * License.
17  *
18  *
19  */

20
21 package golfShop.presentation.xmlc.main;
22
23 import org.enhydra.xml.xmlc.*;
24 import com.lutris.appserver.server.httpPresentation.*;
25
26
27 /**
28  * This presentation object acts as a wrapper for
29  * Contents.po and Shelf.po. These presentation objects
30  * are responsible for the dynamic content on this that
31  * appears on this page.
32  */

33 public class Main implements HttpPresentation {
34
35     public void run(HttpPresentationComms comms)
36         throws HttpPresentationException {
37
38         MainHTML main
39             = (MainHTML)comms.xmlcFactory.create(MainHTML.class);
40         comms.response.writeDOM(main);
41     }
42
43 }
44
Popular Tags