Class AbstractThemeResolver

java.lang.Object
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 Details

    • ORIGINAL_DEFAULT_THEME_NAME

      public static final String ORIGINAL_DEFAULT_THEME_NAME
      Out-of-the-box value for the default theme name: "theme".
      See Also:
  • Constructor Details

    • AbstractThemeResolver

      public AbstractThemeResolver()
  • Method Details

    • setDefaultThemeName

      public void setDefaultThemeName(String defaultThemeName)
      Set the name of the default theme. Out-of-the-box value is "theme".
    • getDefaultThemeName

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