com.interface21.web.servlet.theme
Class AbstractThemeResolver

java.lang.Object
  |
  +--com.interface21.web.servlet.theme.AbstractThemeResolver
All Implemented Interfaces:
ThemeResolver
Direct Known Subclasses:
CookieThemeResolver, FixedThemeResolver, SessionThemeResolver

public abstract class AbstractThemeResolver
extends java.lang.Object
implements ThemeResolver

Abstract base class for ThemeResolver implementations. Provides support for a default theme name.

Since:
17.06.2003
Author:
Juergen Hoeller

Field Summary
static java.lang.String ORIGINAL_DEFAULT_THEME_NAME
           
 
Constructor Summary
AbstractThemeResolver()
           
 
Method Summary
 java.lang.String getDefaultThemeName()
          Return the name of the default theme.
 void setDefaultThemeName(java.lang.String defaultThemeName)
          Set the name of the default theme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.interface21.web.servlet.ThemeResolver
resolveThemeName, setThemeName
 

Field Detail

ORIGINAL_DEFAULT_THEME_NAME

public static final java.lang.String ORIGINAL_DEFAULT_THEME_NAME
Constructor Detail

AbstractThemeResolver

public AbstractThemeResolver()
Method Detail

setDefaultThemeName

public void setDefaultThemeName(java.lang.String defaultThemeName)
Set the name of the default theme.
Parameters:
defaultThemeName - new default theme name

getDefaultThemeName

public java.lang.String getDefaultThemeName()
Return the name of the default theme.
Returns:
the default theme name


Rod Johnson and Spring contributors 2001-2003.