com.astroshare.astroonline.horoscopes
Class Now

java.lang.Object
  extended by com.astroshare.astroonline.horoscopes.Horoscope
      extended by com.astroshare.astroonline.horoscopes.Natal
          extended by com.astroshare.astroonline.horoscopes.Now

public class Now
extends Natal

Implementation of online horoscope Now.

This horoscope performs the full astrological calculation for the current date and time, given the location data defined in the configuration.


Field Summary
protected static org.apache.log4j.Logger log
          init logging
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Natal
visitor
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Horoscope
args, databaseID, horoscopeID, language, startupMode, templateInput, templateOutput
 
Constructor Summary
Now()
           
 
Method Summary
protected  boolean checkHoroscopeData()
           Override method checkHoroscopeData.
 java.lang.String getFlashChartString()
           Returns the string needed to draw progression with the Flash animation.
protected  void getHoroscopeArguments()
           Override method getHoroscopeArguments.
protected  java.util.HashMap<java.lang.String,java.lang.Object> getInputMap()
           Override method getInputMap.
 
Methods inherited from class com.astroshare.astroonline.horoscopes.Natal
getFlashvarsProg, getOutputMap, getTextFromDatabaseList
 
Methods inherited from class com.astroshare.astroonline.horoscopes.Horoscope
getFormText, getHoroscope, getInputPage, getMap, getOutputPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
init logging

Constructor Detail

Now

public Now()
Method Detail

getHoroscopeArguments

protected void getHoroscopeArguments()

Override method getHoroscopeArguments. Get all the necessary data from the configuration and the current date and time.

Overrides:
getHoroscopeArguments in class Natal

checkHoroscopeData

protected boolean checkHoroscopeData()

Override method checkHoroscopeData. This method does not have to be implemented for sign only horoscopes.

Overrides:
checkHoroscopeData in class Natal
Returns:
Returns FALSE

getInputMap

protected java.util.HashMap<java.lang.String,java.lang.Object> getInputMap()

Override method getInputMap.

Overrides:
getInputMap in class Natal
Returns:
HashMap Input map

getFlashChartString

public java.lang.String getFlashChartString()

Returns the string needed to draw progression with the Flash animation.

Returns:
Flash String.


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