Package org.opencms.jsp.util
Class CmsDynamicFunctionBeanWrapper
- java.lang.Object
-
- org.opencms.jsp.util.CmsDynamicFunctionBeanWrapper
-
public class CmsDynamicFunctionBeanWrapper extends java.lang.Object
A wrapper class for using dynamic function beans inside JSPs via the EL.
-
-
Field Summary
Fields Modifier and Type Field Description protected CmsObject
m_cms
The internal CMS object to use.protected CmsDynamicFunctionBean
m_functionBean
The dynamic function bean which is being wrapped.
-
Constructor Summary
Constructors Constructor Description CmsDynamicFunctionBeanWrapper(CmsObject cms, CmsDynamicFunctionBean functionBean)
Creates a new wrapper instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getFormatFor()
Gets the lazy map for accessing the various function formats.java.lang.String
getJsp()
Gets the JSP file name of the wrapped dynamic function bean's main format.java.util.Map<java.lang.String,java.lang.String>
getParam()
Gets the parameters of the wrapped dynamic function bean's main format.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Gets the parameters of the wrapped dynamic function bean's main format.
-
-
-
Field Detail
-
m_functionBean
protected CmsDynamicFunctionBean m_functionBean
The dynamic function bean which is being wrapped.
-
-
Constructor Detail
-
CmsDynamicFunctionBeanWrapper
public CmsDynamicFunctionBeanWrapper(CmsObject cms, CmsDynamicFunctionBean functionBean)
Creates a new wrapper instance.- Parameters:
cms
- the CMS context to usefunctionBean
- the dynamic function bean to wrap
-
-
Method Detail
-
getFormatFor
public java.lang.Object getFormatFor()
Gets the lazy map for accessing the various function formats.- Returns:
- a map which allows access to the various function formats
-
getJsp
public java.lang.String getJsp()
Gets the JSP file name of the wrapped dynamic function bean's main format.- Returns:
- a jsp file name
-
getParam
public java.util.Map<java.lang.String,java.lang.String> getParam()
Gets the parameters of the wrapped dynamic function bean's main format.- Returns:
- the map of parameters
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets the parameters of the wrapped dynamic function bean's main format.- Returns:
- the map of parameters
-
-