public class MockPortletConfig extends Object implements javax.portlet.PortletConfig
PortletConfig interface.| Constructor and Description |
|---|
MockPortletConfig()
Create a new MockPortletConfig with a default
MockPortletContext. |
MockPortletConfig(javax.portlet.PortletContext portletContext)
Create a new MockPortletConfig.
|
MockPortletConfig(javax.portlet.PortletContext portletContext,
String portletName)
Create a new MockPortletConfig.
|
MockPortletConfig(String portletName)
Create a new MockPortletConfig with a default
MockPortletContext. |
public MockPortletConfig()
MockPortletContext.public MockPortletConfig(String portletName)
MockPortletContext.portletName - the name of the portletpublic MockPortletConfig(javax.portlet.PortletContext portletContext)
portletContext - the PortletContext that the portlet runs inpublic MockPortletConfig(javax.portlet.PortletContext portletContext,
String portletName)
portletContext - the PortletContext that the portlet runs inportletName - the name of the portletpublic String getPortletName()
getPortletName in interface javax.portlet.PortletConfigpublic javax.portlet.PortletContext getPortletContext()
getPortletContext in interface javax.portlet.PortletConfigpublic void setResourceBundle(Locale locale, ResourceBundle resourceBundle)
public ResourceBundle getResourceBundle(Locale locale)
getResourceBundle in interface javax.portlet.PortletConfigpublic String getInitParameter(String name)
getInitParameter in interface javax.portlet.PortletConfigpublic Enumeration<String> getInitParameterNames()
getInitParameterNames in interface javax.portlet.PortletConfigpublic void addPublicRenderParameterName(String name)
public Enumeration<String> getPublicRenderParameterNames()
getPublicRenderParameterNames in interface javax.portlet.PortletConfigpublic void setDefaultNamespace(String defaultNamespace)
public String getDefaultNamespace()
getDefaultNamespace in interface javax.portlet.PortletConfigpublic void addPublishingEventQName(QName name)
public Enumeration<QName> getPublishingEventQNames()
getPublishingEventQNames in interface javax.portlet.PortletConfigpublic void addProcessingEventQName(QName name)
public Enumeration<QName> getProcessingEventQNames()
getProcessingEventQNames in interface javax.portlet.PortletConfigpublic void addSupportedLocale(Locale locale)
public Enumeration<Locale> getSupportedLocales()
getSupportedLocales in interface javax.portlet.PortletConfigCopyright © 2015. All rights reserved.