Package org.opencms.jsp.util
Class CmsDynamicFunctionFormatWrapper
- java.lang.Object
-
- org.opencms.jsp.util.CmsDynamicFunctionFormatWrapper
-
public class CmsDynamicFunctionFormatWrapper extends java.lang.Object
Wrapper class for dynamic function formats which can be used from JSP EL.
-
-
Constructor Summary
Constructors Constructor Description CmsDynamicFunctionFormatWrapper(CmsObject cms, CmsDynamicFunctionBean.Format format)
Creates a new wrapper instance for a given format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getExists()
Check if this format is actually valid, i.e.java.lang.String
getJsp()
Gets the jsp site path for this dynamic function format.java.util.Map<java.lang.String,java.lang.String>
getParam()
Gets the parameters for this dynamic function format.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Gets the parameters for this dynamic function format.
-
-
-
Constructor Detail
-
CmsDynamicFunctionFormatWrapper
public CmsDynamicFunctionFormatWrapper(CmsObject cms, CmsDynamicFunctionBean.Format format)
Creates a new wrapper instance for a given format.The format parameter may be null.
- Parameters:
cms
- the current CMS contextformat
- the dynamic function format
-
-
Method Detail
-
getExists
public boolean getExists()
Check if this format is actually valid, i.e. was not created with a null format argument.- Returns:
- true if this format is valid
-
getJsp
public java.lang.String getJsp()
Gets the jsp site path for this dynamic function format.- Returns:
- the jsp site path for this dynamic function format
-
getParam
public java.util.Map<java.lang.String,java.lang.String> getParam()
Gets the parameters for this dynamic function format.- Returns:
- the map of parameters for the dynamic function
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets the parameters for this dynamic function format.- Returns:
- the map of parameters for the dynamic function
-
-