Package org.silverpeas.core.html
Interface WebPlugin
-
- All Known Implementing Classes:
DefaultWebPlugin
public interface WebPlugin
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static WebPlugin
get()
default org.apache.ecs.ElementContainer
getHtml(String pluginName, String language)
Include a plugin by its name.default org.apache.ecs.ElementContainer
getHtml(SupportedWebPlugin plugin, String language)
Include a plugin by its name.
-
-
-
Method Detail
-
get
static WebPlugin get()
-
getHtml
default org.apache.ecs.ElementContainer getHtml(SupportedWebPlugin plugin, String language)
Include a plugin by its name.The method returns a filled element container one time per request.
- Parameters:
plugin
- the aimed plugin.language
- the aimed language.- Returns:
- the element container filled with the necessary HTML tags to invoke the plugin, or empty if the initialization script has already been done into the context of the same request.
-
getHtml
default org.apache.ecs.ElementContainer getHtml(String pluginName, String language)
Include a plugin by its name.The method returns a filled element container one time per request.
- Parameters:
pluginName
- the aimed plugin name.language
- the aimed language.- Returns:
- the element container filled with the necessary HTML tags to invoke the plugin, or empty if the initialization script has already been done into the context of the same request.
-
-