Class SimpleTheme
java.lang.Object
org.springframework.ui.context.support.SimpleTheme
- All Implemented Interfaces:
- Theme
Default 
Theme implementation, wrapping a name and an
 underlying MessageSource.- Since:
- 17.06.2003
- Author:
- Juergen Hoeller
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal MessageSourceReturn the specific MessageSource that resolves messages with respect to this theme.final StringgetName()Return the name of the theme.
- 
Constructor Details- 
SimpleThemeCreate a SimpleTheme.- Parameters:
- name- the name of the theme
- messageSource- the MessageSource that resolves theme messages
 
 
- 
- 
Method Details- 
getNameDescription copied from interface:ThemeReturn the name of the theme.
- 
getMessageSourceDescription copied from interface:ThemeReturn the specific MessageSource that resolves messages with respect to this theme.- Specified by:
- getMessageSourcein interface- Theme
- Returns:
- the theme-specific MessageSource (never null)
 
 
-