org.joda.time.contrib.jsptag
Class ParseDateTimeTag

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

public class ParseDateTimeTag
extends ParseDateTimeSupport

A handler for <parseDate> 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.ParseDateTimeSupport
dateTimeZone, locale, pattern, style, value, valueSpecified
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
ParseDateTimeTag()
           
 
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(String value)
          Sets the value attribute.
 
Methods inherited from class org.joda.time.contrib.jsptag.ParseDateTimeSupport
doEndTag, release, setScope, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ParseDateTimeTag

public ParseDateTimeTag()
Method Detail

setValue

public void setValue(String 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.