KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > latka > jelly > LatkaTagLibrary


1 /*
2  * Copyright 1999-2001,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.latka.jelly;
18
19 import org.apache.commons.jelly.TagLibrary;
20
21 /**
22  * A Jelly version of Latka
23  *
24  * @author Morgan Delagrange
25  * @version
26  * $Id: LatkaTagLibrary.java 155424 2005-02-26 13:09:29Z dirkv $
27  */

28 public class LatkaTagLibrary extends TagLibrary {
29     
30     /** Creates a new instance of LatkaTagLibrary */
31     public LatkaTagLibrary() {
32         registerTag("credentials",
33                     CredentialsTag.class);
34         registerTag("param",
35                     ParameterTag.class);
36         registerTag("paramName",
37                     ParameterNameTag.class);
38         registerTag("paramValue",
39                     ParameterValueTag.class);
40         registerTag("reportMessage",
41                     ReportMessageTag.class);
42         registerTag("request",
43                     RequestTag.class);
44         registerTag("requestBody",
45                     RequestBodyTag.class);
46         registerTag("requestHeader",
47                     RequestHeaderTag.class);
48         registerTag("session",
49                     SessionTag.class);
50         registerTag("suite",
51                     SuiteTag.class);
52         registerTag("validate",
53                     ValidateTag.class);
54         registerTag("byteLength",
55                     org.apache.commons.latka.jelly.validators.ByteLengthTag.class);
56         registerTag("cookie",
57                     org.apache.commons.latka.jelly.validators.CookieTag.class);
58         registerTag("goldenFile",
59                     org.apache.commons.latka.jelly.validators.GoldenFileTag.class);
60         registerTag("maxRequestTime",
61                     org.apache.commons.latka.jelly.validators.MaxRequestTimeTag.class);
62         registerTag("regexp",
63                     org.apache.commons.latka.jelly.validators.RegexpTag.class);
64         registerTag("responseHeader",
65                     org.apache.commons.latka.jelly.validators.ResponseHeaderTag.class);
66         registerTag("statusCode",
67                     org.apache.commons.latka.jelly.validators.StatusCodeTag.class);
68         registerTag("statusText",
69                     org.apache.commons.latka.jelly.validators.StatusTextTag.class);
70         registerTag("xpath",
71                     org.apache.commons.latka.jelly.validators.XPathTag.class);
72     }
73     
74 }
75
Popular Tags