1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.view.facelets.tag.jstl.core;
20
21 import org.apache.myfaces.view.facelets.tag.AbstractTagLibrary;
22
23
24
25
26
27
28
29
30
31
32 public final class LegacyJstlCoreLibrary extends AbstractTagLibrary
33 {
34
35 public final static String NAMESPACE = "http://xmlns.jcp.org/jsp/jstl/core";
36 public final static String ALIAS_NAMESPACE = "http://java.sun.com/jsp/jstl/core";
37
38
39
40
41
42 public final static String ALTERNATIVE_NAMESPACE = "http://java.sun.com/jstl/core";
43
44 public final static LegacyJstlCoreLibrary INSTANCE = new LegacyJstlCoreLibrary();
45
46 public LegacyJstlCoreLibrary()
47 {
48 super(NAMESPACE, ALIAS_NAMESPACE);
49
50 this.addTagHandler("if", IfHandler.class);
51
52 this.addTagHandler("forEach", LegacyForEachHandler.class);
53
54 this.addTagHandler("catch", CatchHandler.class);
55
56 this.addTagHandler("choose", ChooseHandler.class);
57
58 this.addTagHandler("when", ChooseWhenHandler.class);
59
60 this.addTagHandler("otherwise", ChooseOtherwiseHandler.class);
61
62 this.addTagHandler("set", LegacySetHandler.class);
63 }
64
65 public LegacyJstlCoreLibrary(String namespace)
66 {
67 super(namespace);
68
69 this.addTagHandler("if", IfHandler.class);
70
71 this.addTagHandler("forEach", LegacyForEachHandler.class);
72
73 this.addTagHandler("catch", CatchHandler.class);
74
75 this.addTagHandler("choose", ChooseHandler.class);
76
77 this.addTagHandler("when", ChooseWhenHandler.class);
78
79 this.addTagHandler("otherwise", ChooseOtherwiseHandler.class);
80
81 this.addTagHandler("set", LegacySetHandler.class);
82 }
83 }