|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ui.context.support.SimpleTheme
Default Theme implementation, wrapping a name and an underlying MessageSource.
Constructor Summary | |
---|---|
SimpleTheme(String name,
MessageSource messageSource)
Create a SimpleTheme. |
Method Summary | |
---|---|
MessageSource |
getMessageSource()
Return the specific MessageSource that resolves messages with respect to this theme. |
String |
getName()
Return the name of the theme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTheme(String name, MessageSource messageSource)
name
- the name of the thememessageSource
- the MessageSource that resolves theme messagesMethod Detail |
---|
public String getName()
Theme
public MessageSource getMessageSource()
Theme
getMessageSource
in interface Theme
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |