public interface

Theme

org.springframework.ui.context.Theme
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract MessageSource getMessageSource()
Return the specific MessageSource that resolves messages with respect to this theme.
abstract String getName()
Return the name of the theme.

Public Methods

public abstract MessageSource getMessageSource ()

Return the specific MessageSource that resolves messages with respect to this theme.

Returns
  • the theme-specific MessageSource (never null)

public abstract String getName ()

Return the name of the theme.

Returns
  • the name of the theme (never null)