|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 javax.servlet.http.HttpServletRequest |
request
the current request |
protected javax.servlet.http.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(org.eclipse.core.runtime.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 javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
protected int ordinal
Constructor Detail |
---|
public DefaultThemeJspInclude()
Method Detail |
---|
public boolean isActive()
isActive
in interface com.ibm.portal.ActiveFlag
public void init(ThemeContext context)
ThemeContent
ThemeContent
object with the current
context.
init
in interface ThemeContent
context
- the initialized current contextpublic void render()
ThemeInclude
render
in interface ThemeInclude
public int getOrdinal()
ThemeContent
getOrdinal
in interface ThemeContent
public void setOrdinal(int value)
public java.lang.String getDescription(java.util.Locale arg0)
Localized
getDescription
in interface Localized
arg0
- 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 Localized
ListModel
if no locales are supported.public java.lang.String getTitle(java.util.Locale arg0)
Localized
getTitle
in interface Localized
arg0
- 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(org.eclipse.core.runtime.IConfigurationElement element, java.lang.String arg1, java.lang.Object arg2) throws org.eclipse.core.runtime.CoreException
setInitializationData
in interface org.eclipse.core.runtime.IExecutableExtension
org.eclipse.core.runtime.CoreException
public 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 |