Package org.opencms.jsp.util
Class CmsTemplatePluginWrapper
java.lang.Object
org.opencms.jsp.util.CmsTemplatePluginWrapper
Wrapper around template plugin objects for use in JSP EL expressions.
-
Constructor Summary
ConstructorDescriptionCmsTemplatePluginWrapper
(CmsObject cms, CmsTemplatePlugin plugin) Creates a new wrapper. -
Method Summary
Modifier and TypeMethodDescriptionGets the plugin attributes.getGroup()
Gets the group of the plugin.getLink()
Gets a link to the plugin target.int
getOrder()
Gets the order of the plugin.getPath()
Returns the path of the resource, if this is an internal link, and null otherwise.Gets the plugin bean wrapped by this wrapper.toString()
-
Constructor Details
-
CmsTemplatePluginWrapper
Creates a new wrapper.- Parameters:
cms
- the current CmsObjectplugin
- the plugin to wrap
-
-
Method Details
-
getAttributes
Gets the plugin attributes.- Returns:
- the plugin attributes
-
getGroup
Gets the group of the plugin.- Returns:
- the group
-
getLink
Gets a link to the plugin target.- Returns:
- a link to the plugin target
-
getOrder
Gets the order of the plugin.- Returns:
- the order of the plugin
-
getPath
Returns the path of the resource, if this is an internal link, and null otherwise.- Returns:
- the path of the link target
-
getPlugin
Gets the plugin bean wrapped by this wrapper.- Returns:
- the wrapped template plugin
-
toString
-