Home » apache-tomcat-6.0.26-src » javax » servlet » jsp » tagext » [javadoc | source]

    1   /*
    2   * Licensed to the Apache Software Foundation (ASF) under one or more
    3   * contributor license agreements.  See the NOTICE file distributed with
    4   * this work for additional information regarding copyright ownership.
    5   * The ASF licenses this file to You under the Apache License, Version 2.0
    6   * (the "License"); you may not use this file except in compliance with
    7   * the License.  You may obtain a copy of the License at
    8   *
    9   *     http://www.apache.org/licenses/LICENSE-2.0
   10   *
   11   * Unless required by applicable law or agreed to in writing, software
   12   * distributed under the License is distributed on an "AS IS" BASIS,
   13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14   * See the License for the specific language governing permissions and
   15   * limitations under the License.
   16   */
   17    
   18   package javax.servlet.jsp.tagext;
   19   
   20   /**
   21    * Information for a function in a Tag Library.
   22    * This class is instantiated from the Tag Library Descriptor file (TLD)
   23    * and is available only at translation time.
   24    * 
   25    * @since 2.0
   26    */
   27   public class FunctionInfo {
   28   
   29       /**
   30        * Constructor for FunctionInfo.
   31        *
   32        * @param name The name of the function
   33        * @param klass The class of the function
   34        * @param signature The signature of the function
   35        */
   36   
   37       public FunctionInfo(String name, String klass, String signature) {
   38   
   39   	this.name = name;
   40           this.functionClass = klass;
   41           this.functionSignature = signature;
   42       }
   43   
   44       /**
   45        * The name of the function.
   46        *
   47        * @return The name of the function
   48        */
   49   
   50       public String getName() {
   51   	return name;
   52       }
   53   
   54       /**
   55        * The class of the function.
   56        *
   57        * @return The class of the function
   58        */
   59   
   60       public String getFunctionClass() {
   61           return functionClass;
   62       }
   63   
   64       /**
   65        * The signature of the function.
   66        *
   67        * @return The signature of the function
   68        */
   69   
   70       public String getFunctionSignature() {
   71           return functionSignature;
   72       }
   73   
   74       /*
   75        * fields
   76        */
   77   
   78       private String name;
   79       private String functionClass;
   80       private String functionSignature;
   81   }

Home » apache-tomcat-6.0.26-src » javax » servlet » jsp » tagext » [javadoc | source]