%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.commons.jelly.tags.http.HttpTagLibrary |
|
|
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 | ||
17 | package org.apache.commons.jelly.tags.http; |
|
18 | ||
19 | import java.util.Map; |
|
20 | ||
21 | import org.apache.commons.jelly.TagLibrary; |
|
22 | ||
23 | /** |
|
24 | * The set of jelly tags provided by Latka |
|
25 | * |
|
26 | * @author dion |
|
27 | * @version $Id: HttpTagLibrary.java 155420 2005-02-26 13:06:03Z dirkv $ |
|
28 | */ |
|
29 | public class HttpTagLibrary extends TagLibrary { |
|
30 | ||
31 | /** |
|
32 | * Creates a new instance of LatkaTagLibrary |
|
33 | */ |
|
34 | 0 | public HttpTagLibrary() { |
35 | 0 | registerTag("body", BodyTag.class); |
36 | 0 | registerTag("delete", DeleteTag.class); |
37 | 0 | registerTag("get", GetTag.class); |
38 | 0 | registerTag("head", HeadTag.class); |
39 | 0 | registerTag("header", HeaderTag.class); |
40 | 0 | registerTag("mppost", MultipartPostTag.class); |
41 | 0 | registerTag("options", OptionsTag.class); |
42 | 0 | registerTag("parameter", ParameterTag.class); |
43 | 0 | registerTag("part", PartTag.class); |
44 | 0 | registerTag("post", PostTag.class); |
45 | 0 | registerTag("put", PutTag.class); |
46 | 0 | registerTag("session", SessionTag.class); |
47 | 0 | } |
48 | ||
49 | /** |
|
50 | * @see TagLibarary#getTagClasses() |
|
51 | * |
|
52 | * @return a Map of tag name to tag class |
|
53 | */ |
|
54 | public Map getTagClasses() { |
|
55 | 0 | return super.getTagClasses(); |
56 | } |
|
57 | ||
58 | } |
|
59 |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |