KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlet > exomvc > XHTMLBuilder


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.portlet.exomvc;
6
7 import javax.portlet.RenderResponse;
8 import org.exoplatform.commons.xhtml.BaseXHTMLBuilder;
9 import org.exoplatform.portlet.exomvc.Page;
10 /**
11  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
12  * @since Nov 11, 2004
13  * @version $Id$
14  */

15 public class XHTMLBuilder extends BaseXHTMLBuilder {
16   private String JavaDoc baseURL_ ;
17   public XHTMLBuilder(RenderResponse response, Page pageObject) throws Exception JavaDoc {
18     super(response.getWriter()) ;
19     baseURL_ = pageObject.getPageURL(response) ;
20   }
21   
22   protected String JavaDoc getBaseURL() { return baseURL_; }
23 }
Popular Tags