public class IdExpressionResolver extends Object implements SearchExpressionResolver, MultiSearchExpressionResolver
| Constructor and Description |
|---|
IdExpressionResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
extractId(String expression) |
javax.faces.component.UIComponent |
resolveComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
javax.faces.component.UIComponent last,
String expression,
int options)
Resolves a
UIComponent for the last or source UIComponent and for the given expression string. |
void |
resolveComponents(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
javax.faces.component.UIComponent last,
String expression,
List<javax.faces.component.UIComponent> components,
int options)
Resolves a list of
UIComponent for the last or source UIComponent and for the given expression string. |
public javax.faces.component.UIComponent resolveComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
javax.faces.component.UIComponent last,
String expression,
int options)
SearchExpressionResolverUIComponent for the last or source UIComponent and for the given expression string.resolveComponent in interface SearchExpressionResolvercontext - The FacesContext.source - The source component. E.g. a button.last - The last resolved component in the chain. If it's not a nested expression, it's the same as the source component.expression - The search expression.options - The options.UIComponent or null.public void resolveComponents(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
javax.faces.component.UIComponent last,
String expression,
List<javax.faces.component.UIComponent> components,
int options)
MultiSearchExpressionResolverUIComponent for the last or source UIComponent and for the given expression string.resolveComponents in interface MultiSearchExpressionResolvercontext - The FacesContext.source - The source component. E.g. a button.last - The last resolved component in the chain.
If it's not a nested expression, it's the same as the source component.expression - The search expression.components - The component list to add the resolved UIComponents.options - The options.Copyright © 2018. All rights reserved.