org.springframework.ui.context
Interface Theme

All Known Implementing Classes:
SimpleTheme

public interface Theme

A Theme can resolve theme-specific messages, codes, file paths, etc (e.g. CSS and image files in a web environment). The MessageSource supports parameterization and internationalization.

Since:
17.06.2003
Author:
Juergen Hoeller
See Also:
ThemeSource, org.springframework.web.servlet.theme

Method Summary
 MessageSource getMessageSource()
          Return the specific MessageSource that resolves messages with respect to this theme.
 java.lang.String getName()
          Return the name of the theme.
 

Method Detail

getName

public java.lang.String getName()
Return the name of the theme.

Returns:
the name of the theme

getMessageSource

public MessageSource getMessageSource()
Return the specific MessageSource that resolves messages with respect to this theme.

Returns:
the theme-specific MessageSource


Copyright (C) 2003-2004 The Spring Framework Project.