%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.commons.jelly.tags.define.DefineTagLibrary |
|
|
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.define; |
|
17 | ||
18 | import org.apache.commons.jelly.TagLibrary; |
|
19 | ||
20 | ||
21 | /** |
|
22 | * This is a tag library that allows you to define new tag libraries at run time. |
|
23 | * Thus tag libraries and tags can be easily implemented in Jelly rather than |
|
24 | * in Java code. |
|
25 | * |
|
26 | * Please see the individual tag classes for more information, particularly |
|
27 | * {@link TaglibTag Taglib tag} and {@link TagTag Tag tag}. |
|
28 | * |
|
29 | * @author <a href="mailto:jstrachan@apache.org">James Strachan</a> |
|
30 | * @version $Revision: 155420 $ |
|
31 | */ |
|
32 | public class DefineTagLibrary extends TagLibrary { |
|
33 | ||
34 | 9 | public DefineTagLibrary() { |
35 | 117 | registerTag( "taglib", TaglibTag.class ); |
36 | 9 | registerTag( "tag", TagTag.class ); |
37 | 9 | registerTag( "bean", BeanTag.class ); |
38 | 9 | registerTag( "dynaBean", DynaBeanTag.class ); |
39 | 9 | registerTag( "jellybean", JellyBeanTag.class ); |
40 | 9 | registerTag( "attribute", AttributeTag.class ); |
41 | 9 | registerTag( "invokeBody", InvokeBodyTag.class ); |
42 | 9 | registerTag( "script", ScriptTag.class ); |
43 | 9 | registerTag( "invoke", InvokeTag.class ); |
44 | 9 | registerTag( "classLoader", ClassLoaderTag.class ); |
45 | 9 | registerTag( "extend", ExtendTag.class ); |
46 | 9 | registerTag( "super", SuperTag.class ); |
47 | 9 | } |
48 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |