View Javadoc

1   /*
2    * Copyright 2002,2004 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.commons.jelly.tags.fmt;
17  
18  import org.apache.commons.jelly.TagLibrary;
19  
20  /*** Describes the tag library for tags in JSTL.
21   *
22   * @author <a href="mailto:willievu@yahoo.com">Willie Vu</a>
23   * @version 1.2
24   *
25   * @task implement &lt;fmt:formatNumber&gt;
26   * @task implement &lt;fmt:parseNumber&gt;
27   * @task implement &lt;fmt:parseDate&gt;
28   * @task decide how to support &lt;fmt:requestEncoding&gt;
29   */
30  public class FmtTagLibrary extends TagLibrary {
31  
32      /*** Creates a new instance of FmtTagLibrary */
33      public FmtTagLibrary() {
34          registerTag("bundle", BundleTag.class);
35          registerTag("formatDate", FormatDateTag.class);
36          registerTag("message", MessageTag.class);
37          registerTag("param", ParamTag.class);
38          registerTag("setBundle", SetBundleTag.class);
39          registerTag("setLocale", SetLocaleTag.class);
40          registerTag("setTimeZone", SetTimeZoneTag.class);
41          registerTag("timeZone", TimeZoneTag.class);
42      }
43  
44  }