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 java.lang.Object
- implements StateHolder
see Javadoc of JSF Specification
- Version:
- $Revision: 472555 $ $Date: 2006-11-08 18:30:58 +0100 (Mi, 08 Nov 2006) $
- Author:
- Manfred Geiler (latest modification by $Author: grantsmith $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIComponent
public UIComponent()
getAttributes
public abstract java.util.Map getAttributes()
getValueBinding
public abstract ValueBinding getValueBinding(java.lang.String name)
setValueBinding
public abstract void setValueBinding(java.lang.String name,
ValueBinding binding)
getClientId
public abstract java.lang.String getClientId(FacesContext context)
getFamily
public abstract java.lang.String getFamily()
getId
public abstract java.lang.String getId()
setId
public abstract void setId(java.lang.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 java.lang.String getRendererType()
setRendererType
public abstract void setRendererType(java.lang.String rendererType)
getRendersChildren
public abstract boolean getRendersChildren()
getChildren
public abstract java.util.List getChildren()
getChildCount
public abstract int getChildCount()
findComponent
public abstract UIComponent findComponent(java.lang.String expr)
getFacets
public abstract java.util.Map getFacets()
getFacet
public abstract UIComponent getFacet(java.lang.String name)
getFacetsAndChildren
public abstract java.util.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 java.io.IOException
- Throws:
java.io.IOException
encodeChildren
public abstract void encodeChildren(FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
encodeEnd
public abstract void encodeEnd(FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
addFacesListener
protected abstract void addFacesListener(FacesListener listener)
getFacesListeners
protected abstract FacesListener[] getFacesListeners(java.lang.Class clazz)
removeFacesListener
protected abstract void removeFacesListener(FacesListener listener)
queueEvent
public abstract void queueEvent(FacesEvent event)
processRestoreState
public abstract void processRestoreState(FacesContext context,
java.lang.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 java.lang.Object processSaveState(FacesContext context)
getFacesContext
protected abstract FacesContext getFacesContext()
getRenderer
protected abstract Renderer getRenderer(FacesContext context)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.