CompositeComponentStackManager is responsible for managing the
two different composite component stacks currently used by Mojarra.
The stacks are identified by the StackType enum which has two elements,
TreeCreation and Evaluation.
The TreeCreation stack represents the composite components that
have been pushed by the TagHandlers responsible for building the tree.
The Evaluation stack is used by the EL in order to properly
resolve nested composite component expressions.
| Modifier and Type | Class and Description |
|---|---|
| private abstract class | |
| private class | |
| private static interface | |
| public static enum | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private CompositeComponentStackManager. | |
| private CompositeComponentStackManager. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public UIComponent | |
| public static CompositeComponentStackManager | Returns: theCompositeComponentStackManager for the current
requestthe ctx)FacesContext for the current request
|
| public UIComponent | getParentCompositeComponent(CompositeComponentStackManager.
|
| private CompositeComponentStackManager. | |
| public UIComponent | |
| public UIComponent | Returns: the top-level component from the specified stack without removing the elementthe stack to push to the component to stackType
|
| public void | pop(CompositeComponentStackManager.
the stack to pop the top level component from stackTypePops the top-level component from the stack. |
| public void | |
| public boolean | Returns: true if the component was pushed, otherwise
returns falsethe component to push compositeComponent)
Pushes the specified composite component to the |
| public boolean | Returns: true if the component was pushed, otherwise
returns falsethe component to push compositeComponent, CompositeComponentStackManager.the stack to push to the component to stackType
Pushes the specified composite component to the desired |
| public boolean | Returns: true if the component was pushed, otherwise
returns false
Pushes a component derived by the push logic to the |
| public boolean | Returns: true if the component was pushed, otherwise
returns falsethe stack to push to the component to stackTypePushes a component derived by the push logic to the specified stack. |
| MANAGER_KEY | back to summary |
|---|---|
| private static final String MANAGER_KEY | |
| runtime | back to summary |
|---|---|
| private CompositeComponentStackManager. | |
| treeCreation | back to summary |
|---|---|
| private CompositeComponentStackManager. | |
| CompositeComponentStackManager | back to summary |
|---|---|
| private CompositeComponentStackManager() | |
| findCompositeComponentUsingLocation | back to summary |
|---|---|
| public UIComponent findCompositeComponentUsingLocation(FacesContext ctx, Location location) | |
| getManager | back to summary |
|---|---|
public static CompositeComponentStackManager getManager(FacesContext ctx)
| |
| getParentCompositeComponent | back to summary |
|---|---|
| public UIComponent getParentCompositeComponent(CompositeComponentStackManager. | |
| getStackHandler | back to summary |
|---|---|
| private CompositeComponentStackManager. | |
| peek | back to summary |
|---|---|
public UIComponent peek()
| |
| peek | back to summary |
|---|---|
public UIComponent peek(CompositeComponentStackManager.
| |
| pop | back to summary |
|---|---|
| public void pop(CompositeComponentStackManager. Pops the top-level component from the stack.
| |
| pop | back to summary |
|---|---|
| public void pop()
Pops the top-level component from the | |
| push | back to summary |
|---|---|
| public boolean push(UIComponent compositeComponent)
Pushes the specified composite component to the
| |
| push | back to summary |
|---|---|
| public boolean push(UIComponent compositeComponent, CompositeComponentStackManager.
Pushes the specified composite component to the desired
| |
| push | back to summary |
|---|---|
| public boolean push()
Pushes a component derived by the push logic to the
| |
| push | back to summary |
|---|---|
| public boolean push(CompositeComponentStackManager. Pushes a component derived by the push logic to the specified stack.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected Stack |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Stack | getStack(boolean create)
Implements com. |
| public UIComponent |
| stack | back to summary |
|---|---|
| protected Stack<UIComponent> stack | |
| BaseStackHandler | back to summary |
|---|---|
| private BaseStackHandler() | |
| delete | back to summary |
|---|---|
| public void delete() Implements com.
| |
| getStack | back to summary |
|---|---|
| public Stack Implements com.
| |
| peek | back to summary |
|---|---|
| public UIComponent peek() Implements com.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private UIComponent | |
| public UIComponent | |
| public void | |
| public boolean | |
| public boolean | push(UIComponent compositeComponent)
Implements com. |
| RuntimeStackHandler | back to summary |
|---|---|
| private RuntimeStackHandler() | |
| delete | back to summary |
|---|---|
| public void delete() Overrides com. Implements com.
| |
| getCompositeParent | back to summary |
|---|---|
| private UIComponent getCompositeParent(UIComponent comp) | |
| getParentCompositeComponent | back to summary |
|---|---|
| public UIComponent getParentCompositeComponent(FacesContext ctx, UIComponent forComponent) Implements com.
| |
| pop | back to summary |
|---|---|
| public void pop() Implements com.
| |
| push | back to summary |
|---|---|
| public boolean push() Implements com.
| |
| push | back to summary |
|---|---|
| public boolean push(UIComponent compositeComponent) Implements com.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public UIComponent | |
| public Stack | |
| public UIComponent | |
| public void | |
| public boolean | |
| public boolean |
| delete | back to summary |
|---|---|
| public void delete() | |
| getParentCompositeComponent | back to summary |
|---|---|
| public UIComponent getParentCompositeComponent(FacesContext ctx, UIComponent forComponent) | |
| getStack | back to summary |
|---|---|
| public Stack | |
| peek | back to summary |
|---|---|
| public UIComponent peek() | |
| pop | back to summary |
|---|---|
| public void pop() | |
| push | back to summary |
|---|---|
| public boolean push(UIComponent compositeComponent) | |
| push | back to summary |
|---|---|
| public boolean push() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final CompositeComponentStackManager. | |
| public static final CompositeComponentStackManager. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CompositeComponentStackManager. | |
| public static CompositeComponentStackManager. |
| Evaluation | back to summary |
|---|---|
| public static final CompositeComponentStackManager. | |
| TreeCreation | back to summary |
|---|---|
| public static final CompositeComponentStackManager. | |
| StackType | back to summary |
|---|---|
| private StackType() | |
| valueOf | back to summary |
|---|---|
| public static CompositeComponentStackManager. | |
| values | back to summary |
|---|---|
| public static CompositeComponentStackManager. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public UIComponent | |
| public void | |
| public boolean | |
| public boolean | push(UIComponent compositeComponent)
Implements com. |
| TreeCreationStackHandler | back to summary |
|---|---|
| private TreeCreationStackHandler() | |
| getParentCompositeComponent | back to summary |
|---|---|
| public UIComponent getParentCompositeComponent(FacesContext ctx, UIComponent forComponent) Implements com.
| |
| pop | back to summary |
|---|---|
| public void pop() Implements com.
| |
| push | back to summary |
|---|---|
| public boolean push() Implements com.
| |
| push | back to summary |
|---|---|
| public boolean push(UIComponent compositeComponent) Implements com.
| |