maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/java/org/apache/maven/jelly/tags/jeez TagDefTag.java
Date Tue, 31 Dec 2002 07:01:52 GMT
jvanzyl     2002/12/30 23:01:52

  Added:       src/java/org/apache/maven/jelly/tags/jeez TagDefTag.java
  Log:
  refactoring. update to follow
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/src/java/org/apache/maven/jelly/tags/jeez/TagDefTag.java
  
  Index: TagDefTag.java
  ===================================================================
  package org.apache.maven.jelly.tags.jeez;
  
  import org.apache.commons.jelly.JellyException;
  import org.apache.commons.jelly.impl.DynamicTagLibrary;
  import org.apache.commons.jelly.tags.define.TagTag;
  
  /**
   * This tag defines a dynamic tag in Jelly script. When the tag is invoked
   * any attributes will be passed in as variables and the definition of the
   * tag can use <define:invokeBody&gt to invoke its body.
   * <p>
   * This tag is similar to the &lt;define:tag&gt; tag in the define
   * tag library.
   *
   * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
   * @version $Revision: 1.1 $
   */
  public class TagDefTag extends TagTag
  {
  
      private DynamicTagLibrary tagLibrary;
  
      public TagDefTag( DynamicTagLibrary tagLibrary )
      {
          this.tagLibrary = tagLibrary;
      }
  
      /**
       * @return the current JeezTagLibrary instance
       */
      protected DynamicTagLibrary getTagLibrary() throws JellyException
      {
          return tagLibrary;
      }
  }
  
  
  

Mime
View raw message