Package org.opencms.widgets.serialdate
Class CmsSerialDateBeanFactory
- java.lang.Object
-
- org.opencms.widgets.serialdate.CmsSerialDateBeanFactory
-
public class CmsSerialDateBeanFactory extends java.lang.Object
Wrapper for the value stored by theCmsSerialDateWidget
that provides easy access.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.Log
LOG
Logger for the class.
-
Constructor Summary
Constructors Constructor Description CmsSerialDateBeanFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static I_CmsSerialDateBean
createSerialDateBean(java.lang.String widgetValue)
Factory method for creating a serial date bean.static I_CmsSerialDateBean
createSerialDateBean(I_CmsSerialDateValue value)
Factory method for creating a serial date bean.
-
-
-
Field Detail
-
LOG
public static final org.apache.commons.logging.Log LOG
Logger for the class.
-
-
Constructor Detail
-
CmsSerialDateBeanFactory
public CmsSerialDateBeanFactory()
-
-
Method Detail
-
createSerialDateBean
public static I_CmsSerialDateBean createSerialDateBean(I_CmsSerialDateValue value)
Factory method for creating a serial date bean.- Parameters:
value
- the value for the series- Returns:
- the serial date bean.
-
createSerialDateBean
public static I_CmsSerialDateBean createSerialDateBean(java.lang.String widgetValue)
Factory method for creating a serial date bean.- Parameters:
widgetValue
- the value for the series as stored by theCmsSerialDateWidget
- Returns:
- the serial date bean.
-
-