org.springframework.web.servlet.theme
Class AbstractThemeResolver

java.lang.Object
  extended by org.springframework.web.servlet.theme.AbstractThemeResolver
All Implemented Interfaces:
ThemeResolver
Direct Known Subclasses:
FixedThemeResolver, SessionThemeResolver

public abstract class AbstractThemeResolver
extends Object
implements ThemeResolver

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

Since:
17.06.2003
Author:
Juergen Hoeller, Jean-Pierre Pawlak

Field Summary
static String ORIGINAL_DEFAULT_THEME_NAME
           
 
Constructor Summary
AbstractThemeResolver()
           
 
Method Summary
 String getDefaultThemeName()
          Return the name of the default theme.
 void setDefaultThemeName(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 org.springframework.web.servlet.ThemeResolver
resolveThemeName, setThemeName
 

Field Detail

ORIGINAL_DEFAULT_THEME_NAME

public static final String ORIGINAL_DEFAULT_THEME_NAME
See Also:
Constant Field Values
Constructor Detail

AbstractThemeResolver

public AbstractThemeResolver()
Method Detail

setDefaultThemeName

public void setDefaultThemeName(String defaultThemeName)
Set the name of the default theme.


getDefaultThemeName

public String getDefaultThemeName()
Return the name of the default theme.



Copyright (c) 2002-2007 The Spring Framework Project.