|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.convert.ConverterTag
com.cc.framework.taglib.convert.ConvertDateTimeTag
Complex DateTime Converter as used in the JSF Specification
| Field Summary | |
private java.lang.String |
dateStyle
|
private java.lang.String |
locale
|
private java.lang.String |
pattern
|
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
timeStyle
|
private java.lang.String |
timeZone
|
private java.lang.String |
type
|
| Fields inherited from class com.cc.framework.taglib.convert.ConverterTag |
|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
ConvertDateTimeTag()
Constructor |
|
| Method Summary | |
Converter |
doCreateConverter()
Template method is called to create the concrete Converter instance |
private void |
init()
Initializes all internal members |
void |
release()
|
void |
setDateStyle(java.lang.String dateStyle)
Predefined formatting style which determines how the date component of a date string is to be formatted and parsed. |
void |
setLocale(java.lang.String locale)
Locale whose predefined styles for dates and times are used during formatting or parsing. |
void |
setPattern(java.lang.String pattern)
Custom formatting pattern which determines how the date/time string should be formatted and parsed. |
void |
setTimeStyle(java.lang.String timeStyle)
Predefined formatting style which determines how the time component of a date string is to be formatted and parsed. |
void |
setTimeZone(java.lang.String timeZone)
Time zone in which to interpret any time information in the date String. |
void |
setType(java.lang.String type)
Specifies what contents the string value will be formatted to include, or parsed expecting. |
| Methods inherited from class com.cc.framework.taglib.convert.ConverterTag |
doStartTag, setConverterId |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private java.lang.String dateStyle
private java.lang.String locale
private java.lang.String pattern
private java.lang.String timeStyle
private java.lang.String timeZone
private java.lang.String type
| Constructor Detail |
public ConvertDateTimeTag()
| Method Detail |
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class ConverterTagTag.release()private void init()
public Converter doCreateConverter()
throws ConverterException
ConverterTag
doCreateConverter in class ConverterTagConverterException - If an error occurred while creating the ConverterConverterTag.doCreateConverter()public void setDateStyle(java.lang.String dateStyle)
dateStyle - the Date Stylepublic void setLocale(java.lang.String locale)
locale - the locale idpublic void setPattern(java.lang.String pattern)
pattern - public void setTimeStyle(java.lang.String timeStyle)
timeStyle - the time stylepublic void setTimeZone(java.lang.String timeZone)
timeZone - the time zonepublic void setType(java.lang.String type)
type - the type
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||