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.ui;
20
21 import org.apache.myfaces.view.facelets.component.UIRepeat;
22 import org.apache.myfaces.view.facelets.tag.AbstractTagLibrary;
23
24
25
26
27
28 public final class UILibrary extends AbstractTagLibrary
29 {
30
31 public final static String NAMESPACE = "http://java.sun.com/jsf/facelets";
32
33 public final static UILibrary INSTANCE = new UILibrary();
34
35 public UILibrary()
36 {
37 super(NAMESPACE);
38
39 this.addTagHandler("include", IncludeHandler.class);
40
41 this.addTagHandler("composition", CompositionHandler.class);
42
43 this.addComponent("component", ComponentRef.COMPONENT_TYPE, null, ComponentRefHandler.class);
44
45 this.addComponent("fragment", ComponentRef.COMPONENT_TYPE, null, ComponentRefHandler.class);
46
47 this.addTagHandler("define", DefineHandler.class);
48
49 this.addTagHandler("insert", InsertHandler.class);
50
51 this.addTagHandler("param", ParamHandler.class);
52
53 this.addTagHandler("decorate", DecorateHandler.class);
54
55 this.addComponent("repeat", UIRepeat.COMPONENT_TYPE, null, RepeatHandler.class);
56
57 this.addComponent("debug", UIDebug.COMPONENT_TYPE, null);
58 }
59 }