com.astroshare.astroonline.core
Class Page

java.lang.Object
  extended by com.astroshare.astroonline.core.Page

public class Page
extends java.lang.Object

Implementation of the Astro-Online content pages.

Content pages are called though the astroonline servlet. The servlet then calls this Page class to process the content page, which in turn processes the necessary template(s). When processing a content page a difference is made between so called horoscope pages and user defined pages.

Horoscope pages

Horoscope pages refer to specific classes. Horoscope pages are processed according to the specific horoscope implementation. There is no need to add these pages explicitly to this servlet. Horoscope pages are processed from this servlet implicitly, when all horoscope definitions are added to the Astro-Online installation correctly.

User defined pages

User defined pages, are pages which implement additional functions or show addional content. Examples are a homepage, a disclaimer page or an impressum. Although user defined pages do not always need to be added to this servlet explicitly, this must be done in most situations. As a rule of thumb, a user defined page has to be added explicitly to this servlet when parts of the page have to be substituted by some dynamic value(s). For pure static content however, there is no need to add the page to this servlet.

See Also:
astroonline

Constructor Summary
Page()
           
 
Method Summary
 java.lang.String getPageContent(java.util.HashMap<java.lang.String,java.lang.Object> a)
           Builds the requested page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page()
Method Detail

getPageContent

public java.lang.String getPageContent(java.util.HashMap<java.lang.String,java.lang.Object> a)

Builds the requested page.

Parameters:
a -
Returns:
Page content


Astro-Online © 2001 − 2008 Astro Share
Documentation generated on: Thursday August 12th 2008 (PS)