Update of /cvsroot/displaytag/display09/src/org/apache/taglibs/display/util
In directory sc8-pr-cvs1:/tmp/cvs-serv1327/src/org/apache/taglibs/display/util

Modified Files:
        HtmlTagUtil.java LinkUtil.java 
Removed Files:
        Tag.java 
Log Message:
removed old file and improved javadocs

Index: HtmlTagUtil.java
===================================================================
RCS file: 
/cvsroot/displaytag/display09/src/org/apache/taglibs/display/util/HtmlTagUtil.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** HtmlTagUtil.java    16 Jun 2003 18:23:18 -0000      1.2
--- HtmlTagUtil.java    17 Jun 2003 19:42:16 -0000      1.3
***************
*** 5,8 ****
--- 5,9 ----
  
  /**
+  * <p>Utility methods for writing html tags</p>
   * @author fgiust
   * @version $Revision$ ($Author$)
***************
*** 11,15 ****
  {
        /**
!        * Constructor for HtmlTagUtil
         */
        private HtmlTagUtil()
--- 12,16 ----
  {
        /**
!        * don't instantiate a new HtmlTagUtil
         */
        private HtmlTagUtil()
***************
*** 18,32 ****
  
        /**
!        * Method createOpenTagString
!        * @param pTagName String
!        * @param pAttributes Map
!        * @return String
         */
        public static String createOpenTagString(String pTagName, HtmlAttributeMap 
pAttributes)
        {
-               if (pAttributes.size() == 0)
-               {
-                       return TagConstants.TAG_OPEN + pTagName + 
TagConstants.TAG_CLOSE;
-               }
  
                StringBuffer lBuffer= new StringBuffer();
--- 19,29 ----
  
        /**
!        * costruct a tag from a name and a collection of attributes
!        * @param pTagName String tag name
!        * @param pAttributes HtmlAttributeMap containing all the tag attributes
!        * @return String open tag with attributes
         */
        public static String createOpenTagString(String pTagName, HtmlAttributeMap 
pAttributes)
        {
  
                StringBuffer lBuffer= new StringBuffer();

Index: LinkUtil.java
===================================================================
RCS file: 
/cvsroot/displaytag/display09/src/org/apache/taglibs/display/util/LinkUtil.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** LinkUtil.java       16 Jun 2003 18:23:18 -0000      1.2
--- LinkUtil.java       17 Jun 2003 19:42:16 -0000      1.3
***************
*** 5,9 ****
  /**
   * <p>Class with static utility methods to add html links in a String</p>
!  * @author fgiust
   * @version $Revision$ ($Author$)
   */
--- 5,9 ----
  /**
   * <p>Class with static utility methods to add html links in a String</p>
!  * @author mraible
   * @version $Revision$ ($Author$)
   */
***************
*** 25,38 ****
  
        /**
!        * This takes the string that is passed in, and "auto-links" it, it turns
         * email addresses into hyperlinks, and also turns things that looks like
         * URLs into hyperlinks as well.  The rules are currently very basic, In
!        * Perl regex lingo...
!        *
!        * Email:  [EMAIL PROTECTED]@\s]+\b
!        * URL:    (http|https|ftp)://\S+\b
!        *
!        * I'm doing this via brute-force since I don't want to be dependent on a
!        * third party regex package.
         * @param pData String
         * @return String
--- 25,38 ----
  
        /**
!        * <p>This takes the string that is passed in, and "auto-links" it, it turns
         * email addresses into hyperlinks, and also turns things that looks like
         * URLs into hyperlinks as well.  The rules are currently very basic, In
!        * Perl regex lingo...</p>
!        * <ul>
!        * <li>Email:  [EMAIL PROTECTED]@\s]+\b</li>
!        * <li>URL:    (http|https|ftp)://\S+\b</li>
!        * </ul>
!        * <p>I'm doing this via brute-force since I don't want to be dependent on a
!        * third party regex package.</p>
         * @param pData String
         * @return String

--- Tag.java DELETED ---




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to