org.apache.taglibs.standard.tag.common.fmt
Class FormatDateSupport

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

public abstract class FormatDateSupport
extends javax.servlet.jsp.tagext.TagSupport

Support for tag handlers for <formatDate>, the date and time formatting tag in JSTL 1.0.

Author:
Jan Luehe
See Also:
Serialized Form

Field Summary
protected  java.lang.String dateStyle
           
protected  java.lang.String pattern
           
protected  java.lang.String timeStyle
           
protected  java.lang.Object timeZone
           
protected  java.lang.String type
           
protected  java.util.Date 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
FormatDateSupport()
           
 
Method Summary
 int doEndTag()
           
 void release()
           
 void setScope(java.lang.String scope)
           
 void setVar(java.lang.String var)
           
 
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
 

Field Detail

value

protected java.util.Date value

type

protected java.lang.String type

pattern

protected java.lang.String pattern

timeZone

protected java.lang.Object timeZone

dateStyle

protected java.lang.String dateStyle

timeStyle

protected java.lang.String timeStyle
Constructor Detail

FormatDateSupport

public FormatDateSupport()
Method Detail

setVar

public void setVar(java.lang.String var)

setScope

public void setScope(java.lang.String scope)

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport


Copyright (c) 1999-2012 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.