| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private UIComponent | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addFacesListener(FacesListener
The faces)FacesListener to be registeredOverrides jakarta.
Add the specified |
| public void | broadcast(FacesEvent
The event)FacesEvent to be broadcastOverrides jakarta.
Broadcast the specified |
| public void | decode(FacesContext
FacesContext for the request we are processingOverrides jakarta.
Decode any new state of this |
| public void | encodeAll(FacesContext
the Faces context. faces)Overrides jakarta.
If this component returns |
| public void | encodeBegin(FacesContext
FacesContext for the response we are creatingOverrides jakarta.
If our |
| public void | encodeChildren(FacesContext
FacesContext for the response we are creatingOverrides jakarta.
If our |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingOverrides jakarta.
If our |
| public UIComponent | findComponent(String
Search expression identifying the id)UIComponent to be returnedOverrides jakarta.
Search for and return the |
| public int | getChildCount()
Overrides jakarta.
Return the number of child |
| public List | getChildren()
Overrides jakarta.
Return a mutable |
| protected FacesContext | getFacesContext()
Overrides jakarta.
Convenience method to return the |
| protected FacesListener[] | getFacesListeners(Class<T>
Class that must be implemented by a faces)FacesListener for it to be returnedOverrides jakarta.
Return an array of registered |
| public UIComponent | getFacet(String
Name of the desired facet name)Overrides jakarta.
Convenience method to return the named facet, if it exists, or |
| public int | getFacetCount()
Overrides jakarta.
Return the number of facet |
| public Map | getFacets()
Overrides jakarta.
Return a mutable |
| public Iterator | getFacetsAndChildren()
Overrides jakarta.
Return an |
| public String | getFamily()
Implements abstract jakarta. Return the identifier of the component family to which this component belongs. |
| public UIComponent | getParent()
Overrides jakarta.
Return the parent |
| protected Renderer | getRenderer(FacesContext
FacesContext for the current requestOverrides jakarta.
Convenience method to return the |
| public String | getRendererType()
Overrides jakarta.
Return the |
| public boolean | getRendersChildren()
Overrides jakarta. Return a flag indicating whether this component is responsible for rendering its child components. |
| public ValueExpression | getValueExpression(String
Name of the attribute or property for which to retrieve a name)ValueExpressionOverrides jakarta.
Return the |
| public boolean | isTransient()
Overrides jakarta. Implements jakarta. If true, the Object implementing this interface must not participate in state saving or restoring. |
| public void | processDecodes(FacesContext
FacesContext for the request we are processingOverrides jakarta. Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | processUpdates(FacesContext
FacesContext for the request we are processingOverrides jakarta. Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | processValidators(FacesContext
FacesContext for the request we are processingOverrides jakarta. Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | queueEvent(FacesEvent
FacesEvent to be queuedOverrides jakarta. Queue an event for broadcast at the end of the current request processing lifecycle phase. |
| protected void | removeFacesListener(FacesListener
The faces)FacesListener to be deregisteredOverrides jakarta.
Remove the specified |
| public void | setParent(UIComponent
The new parent, or parent)null for the root node of a component treeOverrides jakarta.
Set the parent |
| public void | setRendererType(String
Logical identifier of the type of rendererType)Renderer to use, or null for components
that render themselvesOverrides jakarta.
Set the |
| public void | setTransient(boolean
boolean pass tranzient)true if this Object will
not participate in state saving or restoring, otherwise pass false.Overrides jakarta. Implements jakarta. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| public void | setValueExpression(String
Name of the attribute or property for which to set a name, ValueExpression arg1)ValueExpressionOverrides jakarta.
Set the |
| facets | back to summary |
|---|---|
| private static final Map<String, UIComponent> facets | |
| parent | back to summary |
|---|---|
| private UIComponent parent | |
| returnLocalTransient | back to summary |
|---|---|
| private boolean returnLocalTransient | |
| UILeaf | back to summary |
|---|---|
| public UILeaf() | |
| addFacesListener | back to summary |
|---|---|
| protected void addFacesListener(FacesListener faces) Overrides jakarta. Doc from jakarta.
Add the specified
public class FooEvent extends FacesEvent {
...
protected boolean isAppropriateListener(FacesListener listener) {
return (listener instanceof FooListener);
}
protected void processListener(FacesListener listener) {
((FooListener) listener).processFoo(this);
}
...
}
public interface FooListener extends FacesListener {
public void processFoo(FooEvent event);
}
public class FooComponent extends UIComponentBase {
...
public void addFooListener(FooListener listener) {
addFacesListener(listener);
}
public void removeFooListener(FooListener listener) {
removeFacesListener(listener);
}
...
}
| |
| broadcast | back to summary |
|---|---|
| public void broadcast(FacesEvent event) throws AbortProcessingException Overrides jakarta. Doc from jakarta.
Broadcast the specified
If the
| |
| decode | back to summary |
|---|---|
| public void decode(FacesContext faces) Overrides jakarta. Doc from jakarta.
Decode any new state of this
During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by
calling
| |
| encodeAll | back to summary |
|---|---|
| public void encodeAll(FacesContext faces) throws IOException Overrides jakarta. Doc from jakarta.
If this component returns
Render this component and all its children that return
| |
| encodeBegin | back to summary |
|---|---|
| public void encodeBegin(FacesContext faces) throws IOException Overrides jakarta. Doc from jakarta.
If our
If a
If our
| |
| encodeChildren | back to summary |
|---|---|
| public void encodeChildren(FacesContext faces) throws IOException Overrides jakarta. Doc from jakarta.
If our
If a
| |
| encodeEnd | back to summary |
|---|---|
| public void encodeEnd(FacesContext faces) throws IOException Overrides jakarta. Doc from jakarta.
If our
If a
Call
| |
| findComponent | back to summary |
|---|---|
| public UIComponent findComponent(String id) Overrides jakarta. Doc from jakarta.
Search for and return the Warning The found
Component identifiers are required to be unique within the scope of the closest ancestor
A search expression consists of either an identifier (which is matched exactly against the
| |
| getChildCount | back to summary |
|---|---|
| public int getChildCount() Overrides jakarta. Doc from jakarta.
Return the number of child
| |
| getChildren | back to summary |
|---|---|
| public List Overrides jakarta. Doc from jakarta.
Return a mutable
| |
| getFacesContext | back to summary |
|---|---|
| protected FacesContext getFacesContext() Overrides jakarta. Doc from jakarta.
Convenience method to return the
| |
| getFacesListeners | back to summary |
|---|---|
| protected FacesListener[] getFacesListeners(Class<T> faces) Overrides jakarta. Doc from jakarta.
Return an array of registered
| |
| getFacet | back to summary |
|---|---|
| public UIComponent getFacet(String name) Overrides jakarta. Doc from jakarta.
Convenience method to return the named facet, if it exists, or
| |
| getFacetCount | back to summary |
|---|---|
| public int getFacetCount() Overrides jakarta. Doc from jakarta.
Return the number of facet
For backwards compatability with classes that extend UIComponent directly, a default implementation is provided that
simply calls
| |
| getFacets | back to summary |
|---|---|
| public Map Overrides jakarta. Doc from jakarta.
Return a mutable
| |
| getFacetsAndChildren | back to summary |
|---|---|
| public Iterator Overrides jakarta. Doc from jakarta.
Return an
The returned
| |
| getFamily | back to summary |
|---|---|
| public String getFamily() Implements abstract jakarta. Doc from jakarta.
Return the identifier of the component family to which this component belongs. This identifier, in conjunction with
the value of the | |
| getParent | back to summary |
|---|---|
| public UIComponent getParent() Overrides jakarta. Doc from jakarta.
Return the parent
| |
| getRenderer | back to summary |
|---|---|
| protected Renderer Overrides jakarta. Doc from jakarta.
Convenience method to return the
| |
| getRendererType | back to summary |
|---|---|
| public String getRendererType() Overrides jakarta. Doc from jakarta.
Return the | |
| getRendersChildren | back to summary |
|---|---|
| public boolean getRendersChildren() Overrides jakarta. Doc from jakarta.
Return a flag indicating whether this component is responsible for rendering its child components. The default
implementation in
| |
| getValueExpression | back to summary |
|---|---|
| public ValueExpression getValueExpression(String name) Overrides jakarta. Doc from jakarta.
Return the This method must be overridden and implemented for components that comply with Jakarta Faces 1.2 and later.
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Overrides jakarta. Implements jakarta. Doc from jakarta. If true, the Object implementing this interface must not participate in state saving or restoring.
| |
| processDecodes | back to summary |
|---|---|
| public void processDecodes(FacesContext faces) Overrides jakarta. Doc from jakarta. Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
| |
| processUpdates | back to summary |
|---|---|
| public void processUpdates(FacesContext faces) Overrides jakarta. Doc from jakarta. Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
| |
| processValidators | back to summary |
|---|---|
| public void processValidators(FacesContext faces) Overrides jakarta. Doc from jakarta. Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
| |
| queueEvent | back to summary |
|---|---|
| public void queueEvent(FacesEvent event) Overrides jakarta. Doc from jakarta.
Queue an event for broadcast at the end of the current request processing lifecycle phase. The default implementation
in
| |
| removeFacesListener | back to summary |
|---|---|
| protected void removeFacesListener(FacesListener faces) Overrides jakarta. Doc from jakarta.
Remove the specified
| |
| setParent | back to summary |
|---|---|
| public void setParent(UIComponent parent) Overrides jakarta. Doc from jakarta.
Set the parent
This method must never be called by developers; a
| |
| setRendererType | back to summary |
|---|---|
| public void setRendererType(String rendererType) Overrides jakarta. Doc from jakarta.
Set the | |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean tranzient) Overrides jakarta. Implements jakarta. Doc from jakarta. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |
| setValueExpression | back to summary |
|---|---|
| public void setValueExpression(String name, ValueExpression arg1) Overrides jakarta. Doc from jakarta.
Set the
The implementation must call This method must be overridden and implemented for components that comply with Jakarta Faces 1.2 and later.
| |