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.composite; |
20 | |
|
21 | |
import org.apache.myfaces.view.facelets.tag.AbstractTagLibrary; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
public class CompositeLibrary extends AbstractTagLibrary |
28 | |
{ |
29 | |
public final static String NAMESPACE = "http://xmlns.jcp.org/jsf/composite"; |
30 | |
public final static String ALIAS_NAMESPACE = "http://java.sun.com/jsf/composite"; |
31 | |
|
32 | |
public CompositeLibrary() |
33 | |
{ |
34 | 0 | super(NAMESPACE, ALIAS_NAMESPACE); |
35 | |
|
36 | 0 | addTagHandler("actionSource", ActionSourceHandler.class); |
37 | |
|
38 | 0 | addTagHandler("attribute", AttributeHandler.class); |
39 | |
|
40 | 0 | addTagHandler("clientBehavior", ClientBehaviorHandler.class); |
41 | |
|
42 | 0 | addTagHandler("editableValueHolder", EditableValueHolderHandler.class); |
43 | |
|
44 | 0 | addTagHandler("extension", ExtensionHandler.class); |
45 | |
|
46 | 0 | addTagHandler("facet", FacetHandler.class); |
47 | |
|
48 | 0 | addTagHandler("implementation", ImplementationHandler.class); |
49 | |
|
50 | 0 | addTagHandler("insertChildren", InsertChildrenHandler.class); |
51 | |
|
52 | 0 | addTagHandler("insertFacet", InsertFacetHandler.class); |
53 | |
|
54 | 0 | addTagHandler("interface", InterfaceHandler.class); |
55 | |
|
56 | 0 | addComponent("renderFacet", "javax.faces.Output", |
57 | |
"javax.faces.CompositeFacet", RenderFacetHandler.class); |
58 | |
|
59 | 0 | addTagHandler("valueHolder", ValueHolderHandler.class); |
60 | 0 | } |
61 | |
|
62 | |
} |