| |||||||||
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 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()
Returns whether this resource is active or not. |
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()
true
if the resource is active, false
otherwisepublic void init(ThemeContext context)
public void render()
public int getOrdinal()
public void setOrdinal(int value)
public java.lang.String getDescription(java.util.Locale arg0)
null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanismpublic ListModel getLocales()
public java.lang.String getTitle(java.util.Locale arg0)
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
public java.lang.String getJspPath()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |