Coverage report

| %line | %branch
--- | --- | ---

org.apache.commons.jelly.tags.core.CoreTagLibrary

100%

100%

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.core;

17

18

     import org.apache.commons.jelly.TagLibrary;

19

20

     /**

21

       * This is the core tag library for jelly and contains commonly

22

       * used tags.

23

       * This class could be generated by XDoclet

24

       *

25

       * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>

26

       * @version $Revision: 155420 $

27

       */

28

     public class CoreTagLibrary extends TagLibrary {

29

30

975

         public CoreTagLibrary() {

31

9438

             registerTag("jelly", JellyTag.class);

32

33

             // core tags

34

975

             registerTag("out", ExprTag.class);

35

975

             registerTag("catch", CatchTag.class);

36

975

             registerTag("forEach", ForEachTag.class);

37

975

             registerTag("set", SetTag.class);

38

975

             registerTag("remove", RemoveTag.class);

39

975

             registerTag("while", WhileTag.class);

40

41

             // conditional tags

42

975

             registerTag("if", IfTag.class);

43

975

             registerTag("choose", ChooseTag.class);

44

975

             registerTag("when", WhenTag.class);

45

975

             registerTag("otherwise", OtherwiseTag.class);

46

975

             registerTag("switch", SwitchTag.class);

47

975

             registerTag("case", CaseTag.class);

48

975

             registerTag("default", DefaultTag.class);

49

50

             // other tags

51

975

             registerTag("include", IncludeTag.class);

52

975

             registerTag("import", ImportTag.class);

53

975

             registerTag("mute", MuteTag.class);

54

55

             // extensions to JSTL

56

975

             registerTag("arg", ArgTag.class);

57

975

             registerTag("break", BreakTag.class);

58

975

             registerTag("expr", ExprTag.class);

59

975

             registerTag("file", FileTag.class);

60

975

             registerTag("getStatic", GetStaticTag.class);

61

975

             registerTag("invoke", InvokeTag.class);

62

975

             registerTag("invokeStatic", InvokeStaticTag.class);

63

975

             registerTag("new", NewTag.class);

64

975

             registerTag("parse", ParseTag.class);

65

975

             registerTag("scope", ScopeTag.class);

66

975

             registerTag("setProperties", SetPropertiesTag.class);

67

975

             registerTag("thread", ThreadTag.class);

68

975

             registerTag("useBean", UseBeanTag.class);

69

975

             registerTag("useList", UseListTag.class);

70

975

             registerTag("whitespace", WhitespaceTag.class);

71

975

         }

72

73

     }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.