org.joda.time.contrib.jsptag
Class FormatTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.joda.time.contrib.jsptag.FormatSupport
          extended by org.joda.time.contrib.jsptag.FormatTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class FormatTag
extends FormatSupport

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

Author:
Jan Luehe, Jim Newsham
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.joda.time.contrib.jsptag.FormatSupport
dateTimeZone, locale, pattern, style, 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
FormatTag()
           
 
Method Summary
 void setDateTimeZone(Object dtz)
          Sets the zone attribute.
 void setLocale(Object loc)
          Sets the style attribute.
 void setPattern(String pattern)
          Sets the pattern attribute.
 void setStyle(String style)
          Sets the style attribute.
 void setValue(Object value)
          Sets the value attribute.
 
Methods inherited from class org.joda.time.contrib.jsptag.FormatSupport
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

FormatTag

public FormatTag()
Method Detail

setValue

public void setValue(Object value)
              throws javax.servlet.jsp.JspTagException
Sets the value attribute.

Parameters:
value - the value
Throws:
javax.servlet.jsp.JspTagException

setStyle

public void setStyle(String style)
              throws javax.servlet.jsp.JspTagException
Sets the style attribute.

Parameters:
style - the style
Throws:
javax.servlet.jsp.JspTagException

setPattern

public void setPattern(String pattern)
                throws javax.servlet.jsp.JspTagException
Sets the pattern attribute.

Parameters:
pattern - the pattern
Throws:
javax.servlet.jsp.JspTagException

setDateTimeZone

public void setDateTimeZone(Object dtz)
                     throws javax.servlet.jsp.JspTagException
Sets the zone attribute.

Parameters:
dtz - the zone
Throws:
javax.servlet.jsp.JspTagException

setLocale

public void setLocale(Object loc)
               throws javax.servlet.jsp.JspTagException
Sets the style attribute.

Parameters:
loc - the locale
Throws:
javax.servlet.jsp.JspTagException


Copyright © 2005-2011 Joda.org. All Rights Reserved.