JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final

org.apache.taglibs.standard.tag.rt.fmt
Class FormatDateTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport
          extended by org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class FormatDateTag
extends FormatDateSupport

A handler for <formatDate> that supports rtexprvalue-based attributes.

Author:
Jan Luehe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport
dateStyle, pattern, timeStyle, timeZone, type, value
 
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
FormatDateTag()
           
 
Method Summary
 void setDateStyle(String dateStyle)
           
 void setPattern(String pattern)
           
 void setTimeStyle(String timeStyle)
           
 void setTimeZone(Object timeZone)
           
 void setType(String type)
           
 void setValue(Date value)
           
 
Methods inherited from class org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport
doEndTag, release, setScope, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, 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
 

Constructor Detail

FormatDateTag

public FormatDateTag()
Method Detail

setValue

public void setValue(Date value)
              throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

setType

public void setType(String type)
             throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

setDateStyle

public void setDateStyle(String dateStyle)
                  throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

setTimeStyle

public void setTimeStyle(String timeStyle)
                  throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

setPattern

public void setPattern(String pattern)
                throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

setTimeZone

public void setTimeZone(Object timeZone)
                 throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.