com.ibm.portal.theme.plugin
Interface ThemeContent
- All Superinterfaces:
- Localized
- All Known Subinterfaces:
- ThemeInclude, ThemeItem, ThemeJspInclude, ThemeLinkItem, ThemeTextItem
- All Known Implementing Classes:
- DefaultThemeContent, DefaultThemeItem, DefaultThemeJspInclude, DefaultThemeLinkItem, DefaultThemeTextItem
public interface ThemeContent
- extends Localized
A generic interface for theme content. ThemeContent
describes
any element which contributes content to the theme via a defined
extension point in the theme.
- Since:
- 6.0
- Note:
This interface is designed to be implemented by clients. |
init
void init(ThemeContext context)
throws ThemeExtensionInitException
- Initializes the
ThemeContent
object with the current
context.
- Parameters:
context
- the initialized current context
- Throws:
ThemeExtensionInitException
getOrdinal
int getOrdinal()
- Gets the ordinal value. If no value has been specified, this method
should return -1. The lower the value of the ordinal, the higher the
priority.
- Returns:
- the ordinal value or -1 as a default value