|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.portal.theme.plugin.impl.DefaultThemeJspInclude
public class DefaultThemeJspInclude
The default implementation of ThemeJspInclude. This
class provides a method of including a JSP in the theme.
This class may be sub-classed by developers.
Markup Description:
Element name: item
Attributes:
| This interface is designed to be implemented by clients. |
| Field Summary | |
|---|---|
protected int |
ordinal
the ordinal value for this element |
protected HttpServletRequest |
request
the current request |
protected HttpServletResponse |
response
the current response |
| Fields inherited from interface com.ibm.portal.theme.plugin.impl.ThemeJspIncludeDescriptorConstants |
|---|
ELEMENT_NAME, JSP_ATTRIBUTE |
| Fields inherited from interface com.ibm.portal.theme.plugin.impl.ThemeContentDescriptorConstants |
|---|
CLASS_ATTRIBUTE, DESCR_ATTRIBUTE, ID_ATTRIBUTE, ORDINAL_ATTRIBUTE, TITLE_ATTRIBUTE |
| Constructor Summary | |
|---|---|
DefaultThemeJspInclude()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription(java.util.Locale arg0)
Returns the description of this object in the given locale. |
java.lang.String |
getJspPath()
Retrieve the jsp path to include. |
ListModel |
getLocales()
Returns a list model containing the locales that are supported by this object. |
int |
getOrdinal()
Gets the ordinal value. |
java.lang.String |
getTitle(java.util.Locale arg0)
Returns the title of this object in the given locale. |
void |
init(ThemeContext context)
Initializes the ThemeContent object with the current
context. |
boolean |
isActive()
|
void |
render()
Renders the output for this contribution. |
void |
setInitializationData(IConfigurationElement element,
java.lang.String arg1,
java.lang.Object arg2)
|
void |
setOrdinal(int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HttpServletRequest request
protected HttpServletResponse response
protected int ordinal
| Constructor Detail |
|---|
public DefaultThemeJspInclude()
| Method Detail |
|---|
public boolean isActive()
public void init(ThemeContext context)
ThemeContentThemeContent object with the current
context.
init in interface ThemeContentcontext - the initialized current contextpublic void render()
ThemeInclude
render in interface ThemeIncludepublic int getOrdinal()
ThemeContent
getOrdinal in interface ThemeContentpublic void setOrdinal(int value)
public java.lang.String getDescription(java.util.Locale arg0)
Localized
getDescription in interface Localizedarg0 - the locale for which to retrieve the description, must not
be null.
null.
It is up to the invoker of the method to implement an appropriate
fallback mechanismpublic ListModel getLocales()
Localized
getLocales in interface LocalizedListModel if no locales are supported.public java.lang.String getTitle(java.util.Locale arg0)
Localized
getTitle in interface Localizedarg0 - the locale for which to retrieve the title, must not
be null.
null.
It is up to the invoker of the method to implement an appropriate
fallback mechanism.
public void setInitializationData(IConfigurationElement element,
java.lang.String arg1,
java.lang.Object arg2)
throws CoreException
CoreExceptionpublic java.lang.String getJspPath()
ThemeJspInclude
getJspPath in interface ThemeJspInclude
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||