1 14 15 package com.sun.facelets.tag.ui; 16 17 import com.sun.facelets.component.UIRepeat; 18 import com.sun.facelets.tag.AbstractTagLibrary; 19 20 24 public final class UILibrary extends AbstractTagLibrary { 25 26 public final static String Namespace = "http://java.sun.com/jsf/facelets"; 27 28 public final static UILibrary Instance = new UILibrary(); 29 30 public UILibrary() { 31 super(Namespace); 32 33 this.addTagHandler("include", IncludeHandler.class); 34 35 this.addTagHandler("composition", CompositionHandler.class); 36 37 this.addComponent("component", ComponentRef.COMPONENT_TYPE, null, ComponentRefHandler.class); 38 39 this.addComponent("fragment", ComponentRef.COMPONENT_TYPE, null, ComponentRefHandler.class); 40 41 this.addTagHandler("define", DefineHandler.class); 42 43 this.addTagHandler("insert", InsertHandler.class); 44 45 this.addTagHandler("param", ParamHandler.class); 46 47 this.addTagHandler("decorate", DecorateHandler.class); 48 49 this.addComponent("repeat", UIRepeat.COMPONENT_TYPE, null, RepeatHandler.class); 50 51 this.addComponent("debug", UIDebug.COMPONENT_TYPE, null); 52 } 53 } 54 | Popular Tags |