Package org.opencms.xml.containerpage
Class CmsDynamicFunctionBean.Format
java.lang.Object
org.opencms.xml.containerpage.CmsDynamicFunctionBean.Format
- Enclosing class:
- CmsDynamicFunctionBean
A bean which contains a single format for a dynamic function, which contains of the
function JSP, the container settings and the parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the structure id of the JSP.Returns the maximum width.Returns the minimum width.Returns the map of parameters for the JSP.getType()
Gets the container type.boolean
Returns true if this format has no container settings.protected void
setDefaultParameters
(Map<String, String> parameters) Sets the parameters which should be used if the format has no parameters of its own.protected void
setNoContainerSettings
(boolean noContainerSettings) Sets the flag to indicate that this format has no container settings.
-
Constructor Details
-
Format
public Format(CmsUUID structureId, String type, String minWidth, String maxWidth, Map<String, String> parameters) Creates a new format instance.- Parameters:
structureId
- the structure id of the JSPtype
- the container typeminWidth
- the minimum widthmaxWidth
- the maximum widthparameters
- the JSP parameters
-
-
Method Details
-
getJspStructureId
Returns the structure id of the JSP.- Returns:
- the structure id of the JSP
-
getMaxWidth
Returns the maximum width.- Returns:
- the maximum width
-
getMinWidth
Returns the minimum width.- Returns:
- the minimum width
-
getParameters
Returns the map of parameters for the JSP.- Returns:
- the map of parameters for the JSP
-
getType
Gets the container type.- Returns:
- the container type
-
hasNoContainerSettings
Returns true if this format has no container settings.- Returns:
- true if this format has no container settings
-
setDefaultParameters
Sets the parameters which should be used if the format has no parameters of its own.- Parameters:
parameters
- the default parameters
-
setNoContainerSettings
Sets the flag to indicate that this format has no container settings.- Parameters:
noContainerSettings
- the new value for the noContainerSettings flag
-