org.joda.time.contrib.jsptag
Class FormatTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.joda.time.contrib.jsptag.FormatSupport
          extended byorg.joda.time.contrib.jsptag.FormatTag
All Implemented Interfaces:
IterationTag, JspTag, Serializable, 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 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatTag

public FormatTag()
Method Detail

setValue

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

Parameters:
value - the value
Throws:
JspTagException

setStyle

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

Parameters:
style - the style
Throws:
JspTagException

setPattern

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

Parameters:
pattern - the pattern
Throws:
JspTagException

setDateTimeZone

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

Parameters:
dtz - the zone
Throws:
JspTagException

setLocale

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

Parameters:
loc - the locale
Throws:
JspTagException


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