1 16 package javax.faces.component; 17 18 import javax.faces.event.AbortProcessingException; 19 20 24 public abstract class UIComponent 25 implements StateHolder 26 { 27 public UIComponent() 28 { 29 } 30 31 public abstract java.util.Map getAttributes(); 32 33 public abstract javax.faces.el.ValueBinding getValueBinding(java.lang.String name); 34 35 public abstract void setValueBinding(java.lang.String name, 36 javax.faces.el.ValueBinding binding); 37 38 public abstract java.lang.String getClientId(javax.faces.context.FacesContext context); 39 40 public abstract java.lang.String getFamily(); 41 42 public abstract java.lang.String getId(); 43 44 public abstract void setId(java.lang.String id); 45 46 public abstract javax.faces.component.UIComponent getParent(); 47 48 public abstract void setParent(javax.faces.component.UIComponent parent); 49 50 public abstract boolean isRendered(); 51 52 public abstract void setRendered(boolean rendered); 53 54 public abstract java.lang.String getRendererType(); 55 56 public abstract void setRendererType(java.lang.String rendererType); 57 58 public abstract boolean getRendersChildren(); 59 60 public abstract java.util.List getChildren(); 61 62 public abstract int getChildCount(); 63 64 public abstract javax.faces.component.UIComponent findComponent(java.lang.String expr); 65 66 public abstract java.util.Map getFacets(); 67 68 public abstract javax.faces.component.UIComponent getFacet(java.lang.String name); 69 70 public abstract java.util.Iterator getFacetsAndChildren(); 71 72 public abstract void broadcast(javax.faces.event.FacesEvent event) 73 throws AbortProcessingException; 74 75 public abstract void decode(javax.faces.context.FacesContext context); 76 77 public abstract void encodeBegin(javax.faces.context.FacesContext context) 78 throws java.io.IOException ; 79 80 public abstract void encodeChildren(javax.faces.context.FacesContext context) 81 throws java.io.IOException ; 82 83 public abstract void encodeEnd(javax.faces.context.FacesContext context) 84 throws java.io.IOException ; 85 86 protected abstract void addFacesListener(javax.faces.event.FacesListener listener); 87 88 protected abstract javax.faces.event.FacesListener[] getFacesListeners(java.lang.Class clazz); 89 90 protected abstract void removeFacesListener(javax.faces.event.FacesListener listener); 91 92 public abstract void queueEvent(javax.faces.event.FacesEvent event); 93 94 public abstract void processRestoreState(javax.faces.context.FacesContext context, 95 java.lang.Object state); 96 97 public abstract void processDecodes(javax.faces.context.FacesContext context); 98 99 public abstract void processValidators(javax.faces.context.FacesContext context); 100 101 public abstract void processUpdates(javax.faces.context.FacesContext context); 102 103 public abstract java.lang.Object processSaveState(javax.faces.context.FacesContext context); 104 105 protected abstract javax.faces.context.FacesContext getFacesContext(); 106 107 protected abstract javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context); 108 } 109 | Popular Tags |