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/xml string.xml
Date Thu, 06 Sep 2001 05:38:07 GMT
bayard      01/09/05 22:38:06

  Modified:    string/xml string.xml
  Log:
  Added availability of 1.0 to everything.
  Added in descriptions to all attributes and tags.
  Added in type of java.lang.String to all attributes.
  Set restrictions of None to all tags.
  Some other very minor changes.
  
  Revision  Changes    Path
  1.2       +488 -44   jakarta-taglibs/string/xml/string.xml
  
  Index: string.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/string/xml/string.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- string.xml	2001/08/30 12:15:49	1.1
  +++ string.xml	2001/09/06 05:38:06	1.2
  @@ -1,18 +1,5 @@
   <?xml version="1.0" ?>
   
  -<!-- Change all instances of session with the jakarta-taglib 
  -     name for this tag library.
  -
  -     Change all instances of Random with the name to use
  -     for things such as titles in the tag library documentation.
  -
  -     Change all instances of {your-name} with your name for
  -     for things such as author name in the tag library documentation.
  -
  -     Change <prefix>foo</prefix> below to a short prefix for this
  -     tag library.
  -     -->
  -
   <document url="./string.xml">
   
   <!-- More properties can be added.  Good place to stick loose
  @@ -69,36 +56,6 @@
     </requirements-info>
   
     <tagtoc name="String Tags">
  -    <tag>
  -      <name>string</name>
  -      <tag-class>org.apache.taglibs.string.CapitalizeAllWordsTag</tag-class>
  -      <body-content>JSP</body-content>
  -      <display-name>string</display-name>
  -
  -      <description>
  -           Capitalize all the words found in a piece of body text. 
  -           Capitalization is performed upon any letters following whitespace, 
  -           and on the first character.
  -      </description>
  -  
  -      <availability>1.0</availability>
  -      <restrictions>None</restrictions>
  -
  -      <example>
  -        <usage>
  -          <comment>
  -           Capitalize all the words found in a piece of body text. 
  -           Capitalization is performed upon any letters following whitespace, 
  -           and on the first character.
  -          </comment>
  -          <code>
  -<![CDATA[ 
  -<str:capitalizeAllWords>some form of lower case sentence</str:capitalizeAllWords>
  -]]>       
  -          </code>  
  -        </usage>  
  -      </example>
  -          
       </tag>
   
   
  @@ -110,114 +67,247 @@
           <tagclass>org.apache.taglibs.string.CapitalizeTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>capitalize</display-name>
  +        <description>
  +            Capitalize a String. The first character is converted 
  +            to TitleCase.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>uncapitalize</name>
           <tagclass>org.apache.taglibs.string.UncapitalizeTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>uncapitalize</display-name>
  +        <description>
  +            Change the first letter of a String to Lowercase.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>upperCase</name>
           <tagclass>org.apache.taglibs.string.UpperCaseTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>upperCase</display-name>
  +        <description>
  +            Turn the entire String to uppercase. Delegates to
  +            java.lang.String, so no idea if it uses Titlecase
  +            when it's supposed to.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>lowerCase</name>
           <tagclass>org.apache.taglibs.string.LowerCaseTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>lowerCase</display-name>
  +        <description>
  +            Turn all uppercase and titlecase characters to lowercase.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>trim</name>
           <tagclass>org.apache.taglibs.string.TrimTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>trim</display-name>
  +        <description>
  +            Remove whitespace from start and end of a String.  
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>chop</name>
           <tagclass>org.apache.taglibs.string.ChopTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>chop</display-name>
  +        <description>
  +            Remove the last character from a String.
  +            If it is a \n and a \r precedes it, then remove that too.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>chopNewline</name>
           <tagclass>org.apache.taglibs.string.ChopNewlineTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>chopNewline</display-name>
  +        <description>
  +            Remove a \n from the end of a String if it is there.
  +            If a \r precedes it, then it removes that too.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>escape</name>
           <tagclass>org.apache.taglibs.string.EscapeTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>escape</display-name>
  +        <description>
  +            Escape a String into a Java-compatible String.
  +            Handles unicode, and the standard escapes:
  +            \t, \b, \n, \f, \r, \\, \", \' 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>reverse</name>
           <tagclass>org.apache.taglibs.string.ReverseTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>reverse</display-name>
  +        <description>
  +            Reverse a String.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>swapCase</name>
           <tagclass>org.apache.taglibs.string.SwapCaseTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>swapCase</display-name>
  +        <description>
  +            Swap the casing in a String. Lowercase goes to
  +            Uppercase or Titlecase depending on whether they
  +            are the first in the String or after whitespace.
  +            Uppercase and Titlecase go to Lowercase
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>soundex</name>
           <tagclass>org.apache.taglibs.string.SoundexTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>soundex</display-name>
  +        <description>
  +            Return the US_ENGLISH Soundex of a String.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>metaphone</name>
           <tagclass>org.apache.taglibs.string.MetaphoneTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>metaphone</display-name>
  +        <description>
  +            Get the metaphone for a String. This is an improved
  +            variant of SoundEx. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>quoteRegexp</name>
           <tagclass>org.apache.taglibs.string.QuoteRegexpTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>quoteRegexp</display-name>
  +        <description>
  +            Quote a String so that it will pass through a regular
  +            expression as a constant. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>capitalizeAllWords</name>
           <tagclass>org.apache.taglibs.string.CapitalizeAllWordsTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>capitalizeAllWords</display-name>
  +        <description>
  +           Capitalize all the words found in a piece of body text. 
  +           Capitalization is performed upon any letters following whitespace, 
  +           and on the first character.
  +        </description>
  +  
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
  +  
  +        <example>
  +          <usage>
  +            <comment>
  +              Will output: "Some Form Of Lower Case Sentence"
  +            </comment>
  +            <code>
  +<![CDATA[ 
  +<str:capitalizeAllWords>some form of lower case sentence</str:capitalizeAllWords>
  +]]>       
  +            </code>  
  +          </usage>  
  +        </example>
         </tag>
         <tag>
           <name>removeXml</name>
           <tagclass>org.apache.taglibs.string.RemoveXmlTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>removeXml</display-name>
  +        <description>
  +            Remove any XML tags from a String. A very
  +            simple algorithm which just removes any <..>
  +            blocks of text.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>encodeUrl</name>
           <tagclass>org.apache.taglibs.string.EncodeUrlTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>encodeUrl</display-name>
  +        <description>
  +            Encode a String to that it may be used as a URL.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
         <tag>
           <name>decodeUrl</name>
           <tagclass>org.apache.taglibs.string.DecodeUrlTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>decodeUrl</display-name>
  +        <description>
  +            Decode a URL so it may be nicely printed.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
         </tag>
   
  -      <!-- Set attribute tags -->
  +      <!-- 'set' attribute tags -->
         <tag>
           <name>count</name>
           <tagclass>org.apache.taglibs.string.CountTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>count</display-name>
  +        <description>
  +            Count the number of occurences of a passed in 'Set'.
  +            A Set is a String of a particular format. It may include ranges
  +            and single characters. A Set may be negated.
  +
  +            <ul>
  +             <li>range  - "a-z"</li>
  +             <li>char   - "a"</li>
  +             <li>negate - "^a"</li>
  +            </ul> 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>set</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character Set to look for.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -225,10 +315,22 @@
           <tagclass>org.apache.taglibs.string.DeleteTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>delete</display-name>
  +        <description>
  +            Delete any characters from the body that match
  +            characters specified in the Set.
  +            The syntax of a Set is described in Count.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>set</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character Set to look for.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -236,10 +338,24 @@
           <tagclass>org.apache.taglibs.string.SqueezeTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>squeeze</display-name>
  +        <description>
  +            Squeeze any characters from the body that match
  +            characters specified in the Set. Squeezing means that
  +            if it finds two adjoining characters that are the same, 
  +            they are replaced with a single one of the characters.
  +            The syntax of a Set is described in the Count tag.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>set</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character Set to look for.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -249,15 +365,31 @@
           <tagclass>org.apache.taglibs.string.CenterTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>center</display-name>
  +        <description>
  +            Center the body String in a larger String of size width.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +            String to pad the larger String with.
  +            Default is a space character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>width</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +            Size of larger String.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -265,15 +397,33 @@
           <tagclass>org.apache.taglibs.string.RightPadTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>rightPad</display-name>
  +        <description>
  +            Right pad a string with a particular delimiter to a
  +            specified width. The width includes the size of
  +            the string.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              String to pad the larger String with.
  +              Default is a space character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>width</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Size of larger String.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -281,15 +431,33 @@
           <tagclass>org.apache.taglibs.string.LeftPadTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>leftPad</display-name>
  +        <description>
  +            Left pad a string with a particular delimiter to a 
  +            specified width. The width includes the size of
  +            the string. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              String to pad the larger String with.
  +              Default is a space character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>width</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Size of larger String.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -299,10 +467,22 @@
           <tagclass>org.apache.taglibs.string.ChompTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>chomp</display-name>
  +        <description>
  +            Remove the last occurence of a specified character,
  +            and everything after it.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to remove after. 
  +              Default is a newline character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -310,10 +490,22 @@
           <tagclass>org.apache.taglibs.string.GetChompTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>getChomp</display-name>
  +        <description>
  +            Get everything after a specified delimiter.
  +            Returns the delimiter as well.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to get text after.
  +              Default is a newline character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -321,10 +513,22 @@
           <tagclass>org.apache.taglibs.string.PrechompTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>prechomp</display-name>
  +        <description>
  +            Remove everything up until a specified delimiter, and
  +            that specified delimiter from the start of a String.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to remove before.
  +              Default is a newline character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -332,10 +536,22 @@
           <tagclass>org.apache.taglibs.string.GetPrechompTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>getPrechomp</display-name>
  +        <description>
  +            Get everything up until a specific delimiter.
  +            Returns the delimiter as well.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to get text before.
  +              Default is a newline character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -343,10 +559,22 @@
           <tagclass>org.apache.taglibs.string.StripTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>strip</display-name>
  +        <description>
  +            Strip all of a specified character which appear
  +            at the start and end of a String.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to remove from start and end of body.
  +              Default is a isWhitespace() character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -354,10 +582,22 @@
           <tagclass>org.apache.taglibs.string.StripEndTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>stripEnd</display-name>
  +        <description>
  +            Strip all of a specified character which appear
  +            at the end of a String.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to remove from end of body.
  +              Default is a isWhitespace() character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -365,10 +605,22 @@
           <tagclass>org.apache.taglibs.string.StripStartTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>stripStart</display-name>
  +        <description>
  +            Strip all of a specified character which appear
  +            at the start of a String. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to remove from start of body.
  +              Default is a isWhitespace() character. 
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
         <tag>
  @@ -376,10 +628,23 @@
           <tagclass>org.apache.taglibs.string.ReverseDelimitedStringTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>reverseDelimitedString</display-name>
  +        <description>
  +            Reverses a delimited String. One example would be changing
  +            org.apache.taglib to taglib.apache.org. The delimiter to use
  +            is settable.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to use as the delimiter in the qualified name.
  +              Default is a dot character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -388,20 +653,42 @@
           <tagclass>org.apache.taglibs.string.OverlayTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>overlay</display-name>
  +        <description>
  +            Overlay a String on top of another String. The length
  +            of the String to overlay does not have to be the same as
  +            the size of substring it replaces. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>with</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              String to overlay onto the body. 
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>start</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Start index. 
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>end</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Index to end before.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -410,15 +697,32 @@
           <tagclass>org.apache.taglibs.string.SubstringTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>substrin</display-name>
  +        <description>
  +            Get a specified substring from a larger String based
  +            on the start index and end-before index in the larger
  +            String
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>start</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Start index.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>end</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Index to end before.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -427,10 +731,20 @@
           <tagclass>org.apache.taglibs.string.RepeatTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>repeat</display-name>
  +        <description>
  +            Repeat a string a particular number of times. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>count</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Number of times to repeat the body.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -439,20 +753,47 @@
           <tagclass>org.apache.taglibs.string.WordWrapTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>wordWrap</display-name>
  +        <description>
  +            Word-wrap a String. This involves formatting a long
  +            String to fit within a certain character width of page.
  +            A delimiter may be passed in to put at the end of each
  +            line and a splitting character can be specified for when
  +            a word has to be cut in half.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>width</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to put between each line.
  +              Default is a newline character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>delimiter</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Width to word wrap to.
  +              Default is 80.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>split</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Character to use when a word has to be split.
  +              Default is a - character.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -461,15 +802,31 @@
           <tagclass>org.apache.taglibs.string.NestedStringTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>nestedString</display-name>
  +        <description>
  +            Get a String that is nested between an open and closing substring.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>open</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Index to start substring at.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>close</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Index to stop substring before.
  +              Default is the end of the string.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -478,10 +835,21 @@
           <tagclass>org.apache.taglibs.string.CountMatchesTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>countMatches</display-name>
  +        <description>
  +            Return the number of times that the body String
  +            contains the sub-string.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>substring</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Substring to count number of.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -490,15 +858,35 @@
           <tagclass>org.apache.taglibs.string.DefaultTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>default</display-name>
  +        <description>
  +            If the body String is a particular value, then output
  +            a default value, else output the body String.
  +            The major use of this is to convert 'null' into an
  +            empty String.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>value</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Value to be equal to.
  +              Default is the string: "null".
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>default</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Value to place if body is equal to value field.
  +              Default is an empty String.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -507,20 +895,43 @@
           <tagclass>org.apache.taglibs.string.ReplaceTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>replace</display-name>
  +        <description>
  +            Replace a specified substring with another string.
  +            A number of times may be specified to say how many times
  +            to replace the substring.
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>replace</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Value to find to replace.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>with</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Value to replace with.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>count</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Number of times to replace.
  +              Default is all matches.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  @@ -529,25 +940,58 @@
           <tagclass>org.apache.taglibs.string.RandomStringTag</tagclass>
           <body-content>JSP</body-content>
           <display-name>randomString</display-name>
  +        <description>
  +            Create a random string. It can create an ascii string,
  +            a numeric string, an alphanumeric string, and a unicode
  +            string. The size of the string may be specified, as can a  
  +            start and end character. Lastly, a set of characters to use
  +            may be passed in. 
  +        </description>
  +        <availability>1.0</availability>
  +        <restrictions>None</restrictions>
           <attribute>
             <name>count</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Number of characters to generate.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>start</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Start of range of characters to generate from.
  +              Linked to type attribute.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>end</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              End of range of characters to generate from.
  +              Linked to type attribute.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
           <attribute>
             <name>type</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
  +          <type>java.lang.String</type>
  +          <description>
  +              Type of random-string. 
  +              One of: numeric | alphanumeric | alphabet | unicode.
  +              Default value is to unicode.
  +          </description>
  +          <availability>1.0</availability>
           </attribute>
         </tag>
   
  
  
  

Mime
View raw message