UINamingContainer is a convenience base class for components that wish
to implement NamingContainer functionality.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_FAMILY
The standard component family for this component. |
| public static final String | COMPONENT_TYPE
The standard component type for this component. |
| private static Logger | |
| public static final String | SEPARATOR_CHAR_PARAM_NAME
The context-param that allows the separator char for clientId strings to be set on a per-web application basis. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | createUniqueId(FacesContext
FacesContext context, String an optional seed value - e.g. based on the position of the component in the VDL-template seed)Implements jakarta. Generate an identifier for a component. |
| public String | getFamily()
Implements abstract jakarta. Return the identifier of the component family to which this component belongs. |
| private Integer | |
| public static char | Returns: the separator char.the context)FacesContext for the current requestReturn the character used to separate segments of a clientId. |
| private void | |
| public boolean | Returns: true if tree should be visited, false otherwise.the context, VisitCallback VisitContext for this visitthe callback)VisitCallback instance whose visit method will be called for each node
visited.Overrides jakarta. Perform a tree visit starting at this node in the tree. |
| COMPONENT_FAMILY | back to summary |
|---|---|
| public static final String COMPONENT_FAMILY The standard component family for this component. | |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE The standard component type for this component. | |
| LOGGER | back to summary |
|---|---|
| private static Logger LOGGER | |
| SEPARATOR_CHAR_PARAM_NAME | back to summary |
|---|---|
| public static final String SEPARATOR_CHAR_PARAM_NAME The context-param that allows the separator char for clientId strings to be set on a per-web application basis.
| |
| UINamingContainer | back to summary |
|---|---|
| public UINamingContainer()
Create a new | |
| createUniqueId | back to summary |
|---|---|
| public String createUniqueId(FacesContext context, String seed) Implements jakarta. Doc from jakarta. Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
| |
| 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 | |
| getLastId | back to summary |
|---|---|
| private Integer getLastId() | |
| getSeparatorChar | back to summary |
|---|---|
| public static char getSeparatorChar(FacesContext context)
Return the character used to separate segments of a clientId. The implementation must determine if there is a
<
| |
| setLastId | back to summary |
|---|---|
| private void setLastId(Integer lastId) | |
| visitTree | back to summary |
|---|---|
| public boolean visitTree(VisitContext context, VisitCallback callback) Overrides jakarta. Doc from jakarta. Perform a tree visit starting at this node in the tree.
UIComponent.visitTree() implementations do not invoke the UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final UINamingContainer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UINamingContainer. | |
| public static UINamingContainer. |
| lastId | back to summary |
|---|---|
| public static final UINamingContainer. | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys() | |
| valueOf | back to summary |
|---|---|
| public static UINamingContainer. | |
| values | back to summary |
|---|---|
| public static UINamingContainer. | |