org.apache.commons.jelly.tags.fmt
Class FormatDateTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.fmt.FormatDateTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class FormatDateTag
extends org.apache.commons.jelly.TagSupport

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

Version:
$Revision: 155420 $
Author:
Willie Vu

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
FormatDateTag()
          Creates a new instance of FormatDateTag
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
static int getStyle(java.lang.String style, java.lang.String errCode)
           
 void setDateStyle(org.apache.commons.jelly.expression.Expression dateStyle)
          Setter for property dataStyle.
 void setPattern(org.apache.commons.jelly.expression.Expression pattern)
          Setter for property pattern.
 void setScope(java.lang.String scope)
          Setter for property scope.
 void setTimeStyle(org.apache.commons.jelly.expression.Expression timeStyle)
          Setter for property timeStyle.
 void setTimeZone(org.apache.commons.jelly.expression.Expression timeZone)
          Setter for property timeZone.
 void setType(org.apache.commons.jelly.expression.Expression type)
          Setter for property type.
 void setValue(org.apache.commons.jelly.expression.Expression value)
          Setter for property value.
 void setVar(java.lang.String var)
          Setter for property var.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatDateTag

public FormatDateTag()
Creates a new instance of FormatDateTag

Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Evaluates this tag after all the tags properties have been initialized.

Throws:
org.apache.commons.jelly.JellyTagException

setValue

public void setValue(org.apache.commons.jelly.expression.Expression value)
Setter for property value.

Parameters:
value - New value of property value.

setType

public void setType(org.apache.commons.jelly.expression.Expression type)
Setter for property type.

Parameters:
type - New value of property type.

setDateStyle

public void setDateStyle(org.apache.commons.jelly.expression.Expression dateStyle)
Setter for property dataStyle.


setTimeStyle

public void setTimeStyle(org.apache.commons.jelly.expression.Expression timeStyle)
Setter for property timeStyle.

Parameters:
timeStyle - New value of property timeStyle.

setPattern

public void setPattern(org.apache.commons.jelly.expression.Expression pattern)
Setter for property pattern.

Parameters:
pattern - New value of property pattern.

setTimeZone

public void setTimeZone(org.apache.commons.jelly.expression.Expression timeZone)
Setter for property timeZone.

Parameters:
timeZone - New value of property timeZone.

setVar

public void setVar(java.lang.String var)
Setter for property var.

Parameters:
var - New value of property var.

setScope

public void setScope(java.lang.String scope)
Setter for property scope.

Parameters:
scope - New value of property scope.

getStyle

public static int getStyle(java.lang.String style,
                           java.lang.String errCode)
                    throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.