You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/06/30 10:12:26 UTC

cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/jelly LatkaTagLibrary.java

dion        2002/06/30 01:12:26

  Modified:    latka/src/java/org/apache/commons/latka/jelly
                        LatkaTagLibrary.java
  Log:
  expose tag classes for testing and reuse
  
  Revision  Changes    Path
  1.2       +15 -4     jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/LatkaTagLibrary.java
  
  Index: LatkaTagLibrary.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/LatkaTagLibrary.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LatkaTagLibrary.java	30 Jun 2002 05:36:19 -0000	1.1
  +++ LatkaTagLibrary.java	30 Jun 2002 08:12:26 -0000	1.2
  @@ -61,6 +61,8 @@
   
   package org.apache.commons.latka.jelly;
   
  +import java.util.Map;
  +
   import org.apache.commons.jelly.TagLibrary;
   
   
  @@ -77,6 +79,15 @@
        */
       public LatkaTagLibrary() {
           registerTag("suite", SuiteTag.class);
  +    }
  +    
  +    /**
  +     * @see TagLibarary#getTagClasses()
  +     *
  +     * @return a Map of tag name to tag class
  +     */
  +    public Map getTagClasses() {
  +        return super.getTagClasses();
       }
       
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>