jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-taglibs/string/src/org/apache/taglibs/string StringTagSupport.java CapitalizeAllWordsTag.java CapitalizeTag.java CenterTag.java ChompTag.java ChopNewlineTag.java ChopTag.java CountMatchesTag.java CountTag.java DecodeUrlTag.java DefaultTag.java DeleteTag.java EncodeUrlTag.java EscapeTag.java GetChompTag.java GetPrechompTag.java LeftPadTag.java LowerCaseTag.java MetaphoneTag.java NestedStringTag.java OverlayTag.java PrechompTag.java QuoteRegexpTag.java RandomStringTag.java RemoveXmlTag.java RepeatTag.java ReplaceTag.java ReverseDelimitedStringTag.java ReverseTag.java RightPadTag.java SoundexTag.java SqueezeTag.java StripEndTag.java StripStartTag.java StripTag.java SubstringTag.java SwapCaseTag.java TrimTag.java UncapitalizeTag.java UpperCaseTag.java WordWrapTag.java
Date Sun, 21 Apr 2002 04:27:43 GMT
bayard      02/04/20 21:27:43

  Modified:    string/src/org/apache/taglibs/string
                        CapitalizeAllWordsTag.java CapitalizeTag.java
                        CenterTag.java ChompTag.java ChopNewlineTag.java
                        ChopTag.java CountMatchesTag.java CountTag.java
                        DecodeUrlTag.java DefaultTag.java DeleteTag.java
                        EncodeUrlTag.java EscapeTag.java GetChompTag.java
                        GetPrechompTag.java LeftPadTag.java
                        LowerCaseTag.java MetaphoneTag.java
                        NestedStringTag.java OverlayTag.java
                        PrechompTag.java QuoteRegexpTag.java
                        RandomStringTag.java RemoveXmlTag.java
                        RepeatTag.java ReplaceTag.java
                        ReverseDelimitedStringTag.java ReverseTag.java
                        RightPadTag.java SoundexTag.java SqueezeTag.java
                        StripEndTag.java StripStartTag.java StripTag.java
                        SubstringTag.java SwapCaseTag.java TrimTag.java
                        UncapitalizeTag.java UpperCaseTag.java
                        WordWrapTag.java
  Added:       string/src/org/apache/taglibs/string StringTagSupport.java
  Log:
  AbstractStringTag renamed to StringTagSupport to be more inline with the
  JSTL. This highlights that this class is useful to anyone wanting
  to make their own String changing tags.
  
  All tags changed to extend the new class.
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeAllWordsTag.java
  
  Index: CapitalizeAllWordsTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeAllWordsTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CapitalizeAllWordsTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ CapitalizeAllWordsTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeAllWordsTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeAllWordsTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -69,7 +69,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class CapitalizeAllWordsTag extends AbstractStringTag {
  +public class CapitalizeAllWordsTag extends StringTagSupport {
   
       public CapitalizeAllWordsTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeTag.java
  
  Index: CapitalizeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CapitalizeTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ CapitalizeTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CapitalizeTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -68,7 +68,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class CapitalizeTag extends AbstractStringTag {
  +public class CapitalizeTag extends StringTagSupport {
   
       public CapitalizeTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/CenterTag.java
  
  Index: CenterTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CenterTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CenterTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ CenterTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CenterTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CenterTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -78,7 +78,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class CenterTag extends AbstractStringTag {
  +public class CenterTag extends StringTagSupport {
   
       private String delimiter;
       private String width;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/ChompTag.java
  
  Index: ChompTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChompTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChompTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ ChompTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChompTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChompTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class ChompTag extends AbstractStringTag {
  +public class ChompTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/ChopNewlineTag.java
  
  Index: ChopNewlineTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChopNewlineTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChopNewlineTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ ChopNewlineTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChopNewlineTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChopNewlineTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -68,7 +68,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class ChopNewlineTag extends AbstractStringTag {
  +public class ChopNewlineTag extends StringTagSupport {
   
       public ChopNewlineTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/ChopTag.java
  
  Index: ChopTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChopTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChopTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ ChopTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChopTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ChopTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -68,7 +68,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class ChopTag extends AbstractStringTag {
  +public class ChopTag extends StringTagSupport {
   
       public ChopTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/CountMatchesTag.java
  
  Index: CountMatchesTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CountMatchesTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CountMatchesTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ CountMatchesTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CountMatchesTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CountMatchesTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class CountMatchesTag extends AbstractStringTag {
  +public class CountMatchesTag extends StringTagSupport {
   
       private String substring;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/CountTag.java
  
  Index: CountTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CountTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CountTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ CountTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CountTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/CountTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -82,7 +82,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class CountTag extends AbstractStringTag {
  +public class CountTag extends StringTagSupport {
   
       private String set;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/DecodeUrlTag.java
  
  Index: DecodeUrlTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DecodeUrlTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DecodeUrlTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ DecodeUrlTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DecodeUrlTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DecodeUrlTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -67,7 +67,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class DecodeUrlTag extends AbstractStringTag {
  +public class DecodeUrlTag extends StringTagSupport {
   
       public DecodeUrlTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/DefaultTag.java
  
  Index: DefaultTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DefaultTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ DefaultTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DefaultTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DefaultTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -81,7 +81,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class DefaultTag extends AbstractStringTag {
  +public class DefaultTag extends StringTagSupport {
   
       private String defaultValue;
       private String value;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/DeleteTag.java
  
  Index: DeleteTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DeleteTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DeleteTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ DeleteTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DeleteTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/DeleteTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -76,7 +76,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class DeleteTag extends AbstractStringTag {
  +public class DeleteTag extends StringTagSupport {
   
       private String set;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/EncodeUrlTag.java
  
  Index: EncodeUrlTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/EncodeUrlTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EncodeUrlTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ EncodeUrlTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/EncodeUrlTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/EncodeUrlTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -67,7 +67,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class EncodeUrlTag extends AbstractStringTag {
  +public class EncodeUrlTag extends StringTagSupport {
   
       public EncodeUrlTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/EscapeTag.java
  
  Index: EscapeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/EscapeTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EscapeTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ EscapeTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/EscapeTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/EscapeTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -69,7 +69,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class EscapeTag extends AbstractStringTag {
  +public class EscapeTag extends StringTagSupport {
   
       public EscapeTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/GetChompTag.java
  
  Index: GetChompTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/GetChompTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GetChompTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ GetChompTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/GetChompTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/GetChompTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class GetChompTag extends AbstractStringTag {
  +public class GetChompTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/GetPrechompTag.java
  
  Index: GetPrechompTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/GetPrechompTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GetPrechompTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ GetPrechompTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/GetPrechompTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/GetPrechompTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class GetPrechompTag extends AbstractStringTag {
  +public class GetPrechompTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/LeftPadTag.java
  
  Index: LeftPadTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/LeftPadTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LeftPadTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ LeftPadTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/LeftPadTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/LeftPadTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class LeftPadTag extends AbstractStringTag {
  +public class LeftPadTag extends StringTagSupport {
   
       private String delimiter;
       private String width;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/LowerCaseTag.java
  
  Index: LowerCaseTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/LowerCaseTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LowerCaseTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ LowerCaseTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/LowerCaseTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/LowerCaseTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -67,7 +67,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class LowerCaseTag extends AbstractStringTag {
  +public class LowerCaseTag extends StringTagSupport {
   
       public LowerCaseTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/MetaphoneTag.java
  
  Index: MetaphoneTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/MetaphoneTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MetaphoneTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ MetaphoneTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/MetaphoneTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/MetaphoneTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -68,7 +68,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class MetaphoneTag extends AbstractStringTag {
  +public class MetaphoneTag extends StringTagSupport {
   
       public MetaphoneTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/NestedStringTag.java
  
  Index: NestedStringTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/NestedStringTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NestedStringTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ NestedStringTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/NestedStringTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/NestedStringTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -79,7 +79,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class NestedStringTag extends AbstractStringTag {
  +public class NestedStringTag extends StringTagSupport {
   
       private String close;
       private String open;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/OverlayTag.java
  
  Index: OverlayTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/OverlayTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OverlayTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ OverlayTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/OverlayTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/OverlayTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class OverlayTag extends AbstractStringTag {
  +public class OverlayTag extends StringTagSupport {
   
       private String start;
       private String with;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/PrechompTag.java
  
  Index: PrechompTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/PrechompTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PrechompTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ PrechompTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/PrechompTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/PrechompTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class PrechompTag extends AbstractStringTag {
  +public class PrechompTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/QuoteRegexpTag.java
  
  Index: QuoteRegexpTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/QuoteRegexpTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- QuoteRegexpTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ QuoteRegexpTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/QuoteRegexpTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/QuoteRegexpTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -68,7 +68,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class QuoteRegexpTag extends AbstractStringTag {
  +public class QuoteRegexpTag extends StringTagSupport {
   
       public QuoteRegexpTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/RandomStringTag.java
  
  Index: RandomStringTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RandomStringTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RandomStringTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ RandomStringTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RandomStringTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RandomStringTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -98,7 +98,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class RandomStringTag extends AbstractStringTag {
  +public class RandomStringTag extends StringTagSupport {
   
       static public String NUMERIC      = "numeric";
       static public String ALPHANUMERIC = "alphanumeric";
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/RemoveXmlTag.java
  
  Index: RemoveXmlTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RemoveXmlTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RemoveXmlTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ RemoveXmlTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RemoveXmlTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RemoveXmlTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -69,7 +69,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class RemoveXmlTag extends AbstractStringTag {
  +public class RemoveXmlTag extends StringTagSupport {
   
       public RemoveXmlTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/RepeatTag.java
  
  Index: RepeatTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RepeatTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RepeatTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ RepeatTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RepeatTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RepeatTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -74,7 +74,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class RepeatTag extends AbstractStringTag {
  +public class RepeatTag extends StringTagSupport {
   
       private String count;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/ReplaceTag.java
  
  Index: ReplaceTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReplaceTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ReplaceTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ ReplaceTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReplaceTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReplaceTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class ReplaceTag extends AbstractStringTag {
  +public class ReplaceTag extends StringTagSupport {
   
       private String count;
       private String replace;
  
  
  
  1.2       +3 -3      jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseDelimitedStringTag.java
  
  Index: ReverseDelimitedStringTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseDelimitedStringTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ReverseDelimitedStringTag.java	6 Sep 2001 05:32:48 -0000	1.1
  +++ ReverseDelimitedStringTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseDelimitedStringTag.java,v 1.1 2001/09/06 05:32:48 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/09/06 05:32:48 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseDelimitedStringTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -76,7 +76,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class ReverseDelimitedStringTag extends AbstractStringTag {
  +public class ReverseDelimitedStringTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseTag.java
  
  Index: ReverseTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ReverseTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ ReverseTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/ReverseTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -67,7 +67,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class ReverseTag extends AbstractStringTag {
  +public class ReverseTag extends StringTagSupport {
   
       public ReverseTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/RightPadTag.java
  
  Index: RightPadTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RightPadTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RightPadTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ RightPadTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RightPadTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/RightPadTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class RightPadTag extends AbstractStringTag {
  +public class RightPadTag extends StringTagSupport {
   
       private String delimiter;
       private String width;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/SoundexTag.java
  
  Index: SoundexTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SoundexTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SoundexTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ SoundexTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SoundexTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SoundexTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -70,7 +70,7 @@
   // TODO: Research other languages and add an ability to 
   //       figure out a locale etc. Consider i18n taglib's 
   //       powers.
  -public class SoundexTag extends AbstractStringTag {
  +public class SoundexTag extends StringTagSupport {
   
       public SoundexTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/SqueezeTag.java
  
  Index: SqueezeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SqueezeTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SqueezeTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ SqueezeTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SqueezeTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SqueezeTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -78,7 +78,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class SqueezeTag extends AbstractStringTag {
  +public class SqueezeTag extends StringTagSupport {
   
       private String set;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/StripEndTag.java
  
  Index: StripEndTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripEndTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StripEndTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ StripEndTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripEndTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripEndTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class StripEndTag extends AbstractStringTag {
  +public class StripEndTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/StripStartTag.java
  
  Index: StripStartTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripStartTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StripStartTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ StripStartTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripStartTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripStartTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class StripStartTag extends AbstractStringTag {
  +public class StripStartTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/StripTag.java
  
  Index: StripTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StripTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ StripTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StripTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class StripTag extends AbstractStringTag {
  +public class StripTag extends StringTagSupport {
   
       private String delimiter;
   
  
  
  
  1.3       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/SubstringTag.java
  
  Index: SubstringTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SubstringTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SubstringTag.java	14 Feb 2002 05:21:54 -0000	1.2
  +++ SubstringTag.java	21 Apr 2002 04:27:42 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SubstringTag.java,v 1.2 2002/02/14 05:21:54 bayard Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/02/14 05:21:54 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SubstringTag.java,v 1.3 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class SubstringTag extends AbstractStringTag {
  +public class SubstringTag extends StringTagSupport {
   
       private String end;
       private String start;
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/SwapCaseTag.java
  
  Index: SwapCaseTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SwapCaseTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SwapCaseTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ SwapCaseTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SwapCaseTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/SwapCaseTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -70,7 +70,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class SwapCaseTag extends AbstractStringTag {
  +public class SwapCaseTag extends StringTagSupport {
   
       public SwapCaseTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/TrimTag.java
  
  Index: TrimTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/TrimTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TrimTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ TrimTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/TrimTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/TrimTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -67,7 +67,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class TrimTag extends AbstractStringTag {
  +public class TrimTag extends StringTagSupport {
   
       public TrimTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/UncapitalizeTag.java
  
  Index: UncapitalizeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/UncapitalizeTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UncapitalizeTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ UncapitalizeTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/UncapitalizeTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/UncapitalizeTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -67,7 +67,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class UncapitalizeTag extends AbstractStringTag {
  +public class UncapitalizeTag extends StringTagSupport {
   
       public UncapitalizeTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/UpperCaseTag.java
  
  Index: UpperCaseTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/UpperCaseTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UpperCaseTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ UpperCaseTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/UpperCaseTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/UpperCaseTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -69,7 +69,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class UpperCaseTag extends AbstractStringTag {
  +public class UpperCaseTag extends StringTagSupport {
   
       public UpperCaseTag() {
           super();
  
  
  
  1.2       +4 -4      jakarta-taglibs/string/src/org/apache/taglibs/string/WordWrapTag.java
  
  Index: WordWrapTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/WordWrapTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WordWrapTag.java	30 Aug 2001 12:34:42 -0000	1.1
  +++ WordWrapTag.java	21 Apr 2002 04:27:42 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/WordWrapTag.java,v 1.1 2001/08/30 12:34:42 bayard Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/08/30 12:34:42 $
  + * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/WordWrapTag.java,v 1.2 2002/04/21 04:27:42 bayard Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/21 04:27:42 $
    *
    * ====================================================================
    *
  @@ -86,7 +86,7 @@
    * 
    * @author bayard@generationjava.com
    */
  -public class WordWrapTag extends AbstractStringTag {
  +public class WordWrapTag extends StringTagSupport {
   
       private String delimiter;
       private String width;
  
  
  
  1.1                  jakarta-taglibs/string/src/org/apache/taglibs/string/StringTagSupport.java
  
  Index: StringTagSupport.java
  ===================================================================
  /*
   * $Header: /home/cvs/jakarta-taglibs/string/src/org/apache/taglibs/string/StringTagSupport.java,v 1.1 2002/04/21 04:27:42 bayard Exp $
   * $Revision: 1.1 $
   * $Date: 2002/04/21 04:27:42 $
   *
   * ====================================================================
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *    any, must include the following acknowlegement:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowlegement may appear in the software itself,
   *    if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
   *    Foundation" must not be used to endorse or promote products derived
   *    from this software without prior written permission. For written
   *    permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache"
   *    nor may "Apache" appear in their names without prior written
   *    permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   *
   */
  package org.apache.taglibs.string;
  
  import java.io.IOException;
  import java.io.StringWriter;
  
  import javax.servlet.jsp.JspException;
  import javax.servlet.jsp.JspWriter;
  import javax.servlet.jsp.PageContext;
  import javax.servlet.jsp.tagext.BodyTagSupport;
  
  /**
   * Abstract support class for the String Taglib.
   * It handles the JSP taglib side of things and calls abstract 
   * protected methods to delegate the String functionality.
   * <dl>
   * <dt>var</dt><dd>
   *             PageContext variable to put the 
   *             return result in instead of pushing
   *             out to the html page.
   * </dd>
   * </dl> 
   * 
   * @author bayard@generationjava.com
   */
  abstract public class StringTagSupport extends BodyTagSupport {
  
      /**
       * PageContext attribute to store the result in.
       */
      private String var;
  
      /**
       * Empty constructor. Initialises the attributes.
       */
      public StringTagSupport() {
          initAttributes();
      }
  
      /**
       * Get the PageContext attribute to store the result in.
       */
      public String getVar() {
          return this.var;
      }
  
      /**
       * Set the PageContext attribute to store the result in.
       */
      public void setVar(String var) {
          this.var = var;
      }
  
      /**
       * Handles the manipulation of the String tag,
       * evaluating the body of the tag. The evaluation 
       * is delegated to the changeString(String) method 
       * and then the initAttributes() method is called.
       */
      public int doEndTag() throws JspException {
  
          if( (bodyContent == null) ) {
              return EVAL_PAGE;
          }
          String text = "";
          if(bodyContent != null) {
              StringWriter body = new StringWriter();
              try {
                  bodyContent.writeOut(body);
                  text = body.toString();
              } catch(IOException ioe) {
                  ioe.printStackTrace();
              }
          }
          
          text = changeString(text);
          
          if(this.var == null) {
              JspWriter writer = pageContext.getOut();
              try {
                  writer.print(text);
                  initAttributes();
              } catch (IOException e) {
                  throw new JspException(e.toString());
              }
          } else {
              pageContext.setAttribute(this.var, text);
          }
  
          return (EVAL_PAGE);
      }
  
      /** 
       * Perform an operation on the passed in String.
       *
       * @param str String to be manipulated
       *
       * @return String result of operation upon passed in String
       */
      abstract public String changeString(String str);
  
      /**
       * Initialise any properties to default values.
       * This method is called upon construction, and 
       * after changeString(String) is called.
       * This is a default empty implementation.
       */
      public void initAttributes() {
          this.var = null;
      }
  
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message