javax.faces.component
Class UIComponent
java.lang.Object
javax.faces.component.UIComponent
- All Implemented Interfaces:
- StateHolder
- Direct Known Subclasses:
- UIComponentBase
public abstract class UIComponent
- extends Object
- implements StateHolder
A base class for all JSF component classes.
See Javadoc of JSF Specification
- Version:
- $Revision: 676278 $ $Date: 2008-07-13 03:35:04 -0500 (Sun, 13 Jul 2008) $
- Author:
- Manfred Geiler (latest modification by $Author: skitching $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIComponent
public UIComponent()
getAttributes
public abstract Map getAttributes()
getValueBinding
public abstract ValueBinding getValueBinding(String name)
setValueBinding
public abstract void setValueBinding(String name,
ValueBinding binding)
getClientId
public abstract String getClientId(FacesContext context)
getFamily
public abstract String getFamily()
getId
public abstract String getId()
setId
public abstract void setId(String id)
getParent
public abstract UIComponent getParent()
setParent
public abstract void setParent(UIComponent parent)
- For JSF-framework internal use only. Don't call this method to
add components to the component tree.
Use
parent.getChildren().add(child)
instead.
isRendered
public abstract boolean isRendered()
setRendered
public abstract void setRendered(boolean rendered)
getRendererType
public abstract String getRendererType()
setRendererType
public abstract void setRendererType(String rendererType)
getRendersChildren
public abstract boolean getRendersChildren()
getChildren
public abstract List getChildren()
getChildCount
public abstract int getChildCount()
findComponent
public abstract UIComponent findComponent(String expr)
getFacets
public abstract Map getFacets()
getFacet
public abstract UIComponent getFacet(String name)
getFacetsAndChildren
public abstract Iterator getFacetsAndChildren()
broadcast
public abstract void broadcast(FacesEvent event)
throws AbortProcessingException
- Throws:
AbortProcessingException
decode
public abstract void decode(FacesContext context)
encodeBegin
public abstract void encodeBegin(FacesContext context)
throws IOException
- Throws:
IOException
encodeChildren
public abstract void encodeChildren(FacesContext context)
throws IOException
- Throws:
IOException
encodeEnd
public abstract void encodeEnd(FacesContext context)
throws IOException
- Throws:
IOException
addFacesListener
protected abstract void addFacesListener(FacesListener listener)
getFacesListeners
protected abstract FacesListener[] getFacesListeners(Class clazz)
removeFacesListener
protected abstract void removeFacesListener(FacesListener listener)
queueEvent
public abstract void queueEvent(FacesEvent event)
processRestoreState
public abstract void processRestoreState(FacesContext context,
Object state)
processDecodes
public abstract void processDecodes(FacesContext context)
processValidators
public abstract void processValidators(FacesContext context)
processUpdates
public abstract void processUpdates(FacesContext context)
processSaveState
public abstract Object processSaveState(FacesContext context)
getFacesContext
protected abstract FacesContext getFacesContext()
getRenderer
protected abstract Renderer getRenderer(FacesContext context)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.