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 intro.xml string.xml
Date Thu, 30 Aug 2001 12:15:49 GMT
bayard      01/08/30 05:15:49

  Added:       string/xml intro.xml string.xml
  Log:
  Xml config files for string taglib.
  
  Revision  Changes    Path
  1.1                  jakarta-taglibs/string/xml/intro.xml
  
  Index: intro.xml
  ===================================================================
  <?xml version="1.0"?>
  <document url="./intro.xml">
  
    <properties>
      <author>bayard@generationjava.com</author>
      <title>The Jakarta-Taglibs Project: String Tag Library</title>
    </properties>
  
    <body>
  
  
    <section name="String Tag Library" href="Welcome">
    <p>This custom tag library is used to manipulate Strings.
    </p>
  
    </section>
  
    <section name="Documentation" href="Documentation">
  
    <p>For more information about the String Tag Library, look at the on-line documentation:</p>
    <ul>
    <li>View the <a href="index.html">String Taglib Documentation</a></li>
    </ul>
  
    <p>For information on how to use the distributions, look at the following documentation:</p>
  
    <ul>
    <li>Using the Jakarta-Taglibs <a href="http://jakarta.apache.org/taglibs/binarydist.html">Binary
Distribution</a></li>
    <li>Using the Jakarta-Taglibs <a href="http://jakarta.apache.org/taglibs/sourcedist.html">Source
Distribution</a></li>
    </ul>
  
    </section>
  
    <section name="Download" href="Download">
  
    <p>A binary download of the String Tag Library is available</p>
    <ul>
    <li>Download <a href="http://jakarta.apache.org/builds/jakarta-taglibs/nightly/projects/string/">String
Tag Library</a></li>
    </ul>
  
    <p>The following distributions are also available for download:</p>
    <ul>
    <li>Download <a href="http://jakarta.apache.org/builds/jakarta-taglibs/nightly/src/">Jakarta-Taglibs
Source</a></li>
    <li>Download entire <a href="http://jakarta.apache.org/builds/jakarta-taglibs/nightly">Jakarta-Taglibs
Distribution</a></li>
    </ul>
  
    </section>
  
    <section name="Contributors" href="Contributors">
    <p>List of contributors:</p>
  
    <ul>
    <li>bayard@generationjava.com</li>
    </ul>
  
    </section>
  
    </body>
  </document>
  
  
  
  1.1                  jakarta-taglibs/string/xml/string.xml
  
  Index: string.xml
  ===================================================================
  <?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
       data needed elsewhere. -->
  <properties>
    <!-- The title here overrides the title generated by the 
         stylesheet for the documentation HTML <title> tag
    <title>Jakarta Project: String JSP Tag Library</title>
         -->
    <!-- The name here is used in the HTML <meta name="author"...> tag -->
    <author>bayard@generationjava.com</author>
  </properties>
  
  <!-- The following defines elements uses both to create the taglib
       documentation and the tag library descriptor .tld file.  The
       elements used are those from the JSP 1.2 TLD DTD and special
       elements used when creating the tagib documentation.  Although
       the JSP1.2 TLD DTD is used, this document can be used to
       generate both a JSP 1.1 and a JSP 1.2 TLD.
       -->
  <taglib>
    <!-- The following elements are from the JSP 1.2 TLD DTD -->
    <!-- Version number of this tagib -->
    <tlib-version>1.0</tlib-version>
    <!-- Minimum version of JSP spec required -->
    <jsp-version>1.1</jsp-version>
    <!-- jakarta-taglib name of this tag library -->
    <short-name>string</short-name>
    <!-- URI of taglib -->
    <uri>http://jakarta.apache.org/taglibs/string-1.0</uri>
    <!-- The name to use in titles, etc. for the taglib -->
    <display-name>String Tag library (Development)</display-name>
  
    <description>
      The String taglibrary provides a host of tags for manipulating 
      java.lang.Strings. The style is that the String to act upon is the 
      body of the tag, and attributes are used as parameters for the 
      manipulation.
    </description> 
  
    <!-- The taglib-location is used to fill in the web.xml configuration
         information in the HTML doc. -->
    <taglib-location>/WEB-INF/string.tld</taglib-location>
  
    <!-- The prefix is used to fill in the taglib directive
         configuration information in the HTML doc. -->
    <prefix>str</prefix>
  
    <!-- This element must be straight text and is copied right into
         the "Requirements" section of the HTML doc. -->
    <requirements-info>
      This custom tag library requires no software other than a servlet container 
      that supports the JavaServer Pages Specification, version 1.1 or higher.
    </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>
  
  
  <!-- imported string.tld file -->
  
        <!-- Tags with no attributes -->
        <tag>
          <name>capitalize</name>
          <tagclass>org.apache.taglibs.string.CapitalizeTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>capitalize</display-name>
        </tag>
        <tag>
          <name>uncapitalize</name>
          <tagclass>org.apache.taglibs.string.UncapitalizeTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>uncapitalize</display-name>
        </tag>
        <tag>
          <name>upperCase</name>
          <tagclass>org.apache.taglibs.string.UpperCaseTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>upperCase</display-name>
        </tag>
        <tag>
          <name>lowerCase</name>
          <tagclass>org.apache.taglibs.string.LowerCaseTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>lowerCase</display-name>
        </tag>
        <tag>
          <name>trim</name>
          <tagclass>org.apache.taglibs.string.TrimTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>trim</display-name>
        </tag>
        <tag>
          <name>chop</name>
          <tagclass>org.apache.taglibs.string.ChopTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>chop</display-name>
        </tag>
        <tag>
          <name>chopNewline</name>
          <tagclass>org.apache.taglibs.string.ChopNewlineTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>chopNewline</display-name>
        </tag>
        <tag>
          <name>escape</name>
          <tagclass>org.apache.taglibs.string.EscapeTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>escape</display-name>
        </tag>
        <tag>
          <name>reverse</name>
          <tagclass>org.apache.taglibs.string.ReverseTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>reverse</display-name>
        </tag>
        <tag>
          <name>swapCase</name>
          <tagclass>org.apache.taglibs.string.SwapCaseTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>swapCase</display-name>
        </tag>
        <tag>
          <name>soundex</name>
          <tagclass>org.apache.taglibs.string.SoundexTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>soundex</display-name>
        </tag>
        <tag>
          <name>metaphone</name>
          <tagclass>org.apache.taglibs.string.MetaphoneTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>metaphone</display-name>
        </tag>
        <tag>
          <name>quoteRegexp</name>
          <tagclass>org.apache.taglibs.string.QuoteRegexpTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>quoteRegexp</display-name>
        </tag>
        <tag>
          <name>capitalizeAllWords</name>
          <tagclass>org.apache.taglibs.string.CapitalizeAllWordsTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>capitalizeAllWords</display-name>
        </tag>
        <tag>
          <name>removeXml</name>
          <tagclass>org.apache.taglibs.string.RemoveXmlTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>removeXml</display-name>
        </tag>
        <tag>
          <name>encodeUrl</name>
          <tagclass>org.apache.taglibs.string.EncodeUrlTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>encodeUrl</display-name>
        </tag>
        <tag>
          <name>decodeUrl</name>
          <tagclass>org.apache.taglibs.string.DecodeUrlTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>decodeUrl</display-name>
        </tag>
  
        <!-- Set attribute tags -->
        <tag>
          <name>count</name>
          <tagclass>org.apache.taglibs.string.CountTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>count</display-name>
          <attribute>
            <name>set</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>delete</name>
          <tagclass>org.apache.taglibs.string.DeleteTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>delete</display-name>
          <attribute>
            <name>set</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>squeeze</name>
          <tagclass>org.apache.taglibs.string.SqueezeTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>squeeze</display-name>
          <attribute>
            <name>set</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <!-- Delimiter and width attribute tags -->
        <tag>
          <name>center</name>
          <tagclass>org.apache.taglibs.string.CenterTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>center</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>width</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>rightPad</name>
          <tagclass>org.apache.taglibs.string.RightPadTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>rightPad</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>width</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>leftPad</name>
          <tagclass>org.apache.taglibs.string.LeftPadTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>leftPad</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>width</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <!-- Delimiter attribute tags -->
        <tag>
          <name>chomp</name>
          <tagclass>org.apache.taglibs.string.ChompTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>chomp</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>getChomp</name>
          <tagclass>org.apache.taglibs.string.GetChompTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>getChomp</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>prechomp</name>
          <tagclass>org.apache.taglibs.string.PrechompTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>prechomp</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>getPrechomp</name>
          <tagclass>org.apache.taglibs.string.GetPrechompTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>getPrechomp</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>strip</name>
          <tagclass>org.apache.taglibs.string.StripTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>strip</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>stripEnd</name>
          <tagclass>org.apache.taglibs.string.StripEndTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>stripEnd</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>stripStart</name>
          <tagclass>org.apache.taglibs.string.StripStartTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>stripStart</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>reverseDelimitedString</name>
          <tagclass>org.apache.taglibs.string.ReverseDelimitedStringTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>reverseDelimitedString</display-name>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>overlay</name>
          <tagclass>org.apache.taglibs.string.OverlayTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>overlay</display-name>
          <attribute>
            <name>with</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>start</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>end</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>substring</name>
          <tagclass>org.apache.taglibs.string.SubstringTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>substrin</display-name>
          <attribute>
            <name>start</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>end</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>repeat</name>
          <tagclass>org.apache.taglibs.string.RepeatTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>repeat</display-name>
          <attribute>
            <name>count</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>wordWrap</name>
          <tagclass>org.apache.taglibs.string.WordWrapTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>wordWrap</display-name>
          <attribute>
            <name>width</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>delimiter</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>split</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>nestedString</name>
          <tagclass>org.apache.taglibs.string.NestedStringTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>nestedString</display-name>
          <attribute>
            <name>open</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>close</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>countMatches</name>
          <tagclass>org.apache.taglibs.string.CountMatchesTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>countMatches</display-name>
          <attribute>
            <name>substring</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>default</name>
          <tagclass>org.apache.taglibs.string.DefaultTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>default</display-name>
          <attribute>
            <name>value</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>default</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>replace</name>
          <tagclass>org.apache.taglibs.string.ReplaceTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>replace</display-name>
          <attribute>
            <name>replace</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>with</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>count</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
        <tag>
          <name>randomString</name>
          <tagclass>org.apache.taglibs.string.RandomStringTag</tagclass>
          <body-content>JSP</body-content>
          <display-name>randomString</display-name>
          <attribute>
            <name>count</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>start</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>end</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
          <attribute>
            <name>type</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
          </attribute>
        </tag>
  
  <!-- end of imported string.tld file -->
  
    </tagtoc>
  
  </taglib>
  
  <revision release="Initial Version" date="08/../2001"> 
    <description>
      Initial version of String tag-library. Matching the v0.4 of the 
      GenerationJava String taglib.
    </description>
  </revision>
  
  </document>
  
  
  

Mime
View raw message