You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by gl...@locus.apache.org on 2000/11/06 02:19:54 UTC
cvs commit: jakarta-taglibs/datetime/src/org/apache/taglibs/datetime TimeZonesTEI.java
glenn 00/11/05 17:19:54
Modified: datetime/src/org/apache/taglibs/datetime TimeZonesTEI.java
Log:
Cleanup for release
Revision Changes Path
1.2 +24 -14 jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTEI.java
Index: TimeZonesTEI.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTEI.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TimeZonesTEI.java 2000/09/29 16:13:56 1.1
+++ TimeZonesTEI.java 2000/11/06 01:19:54 1.2
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTEI.java,v 1.1 2000/09/29 16:13:56 glenn Exp $
- * $Revision: 1.1 $
- * $Date: 2000/09/29 16:13:56 $
+ * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTEI.java,v 1.2 2000/11/06 01:19:54 glenn Exp $
+ * $Revision: 1.2 $
+ * $Date: 2000/11/06 01:19:54 $
*
* ====================================================================
*
@@ -64,19 +64,29 @@
import javax.servlet.jsp.tagext.*;
import org.apache.taglibs.datetime.*;
+/**
+ * TagExtraInfo for <b>timezones</b> tag, allows use of standard
+ * <jsp:getProperty/> with the <b>timezones</b> tag script
+ * variable id.
+ *
+ * @see TimeZonesTag
+ *
+ * @author Glenn Nielsen
+ */
+
public class TimeZonesTEI extends TagExtraInfo
{
- public VariableInfo[] getVariableInfo(TagData data)
- {
- return new VariableInfo[]
+ public final VariableInfo[] getVariableInfo(TagData data)
{
- new VariableInfo(
- data.getAttributeString("id"),
- "org.apache.taglibs.datetime.TimeZonesTag",
- true,
- VariableInfo.NESTED
- ),
- };
- }
+ return new VariableInfo[]
+ {
+ new VariableInfo(
+ data.getAttributeString("id"),
+ "org.apache.taglibs.datetime.TimeZonesTag",
+ true,
+ VariableInfo.NESTED
+ ),
+ };
+ }
}