org.primefaces.expression.impl
Class ChildExpressionResolver
java.lang.Object
org.primefaces.expression.impl.ChildExpressionResolver
- All Implemented Interfaces:
- SearchExpressionResolver
public class ChildExpressionResolver
- extends Object
- implements SearchExpressionResolver
SearchExpressionResolver for the "@child" keyword.
|
Method Summary |
javax.faces.component.UIComponent |
resolve(javax.faces.component.UIComponent source,
javax.faces.component.UIComponent last,
String expression)
Resolves a UIComponent for the last or source UIComponent and for the given
expression string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildExpressionResolver
public ChildExpressionResolver()
resolve
public javax.faces.component.UIComponent resolve(javax.faces.component.UIComponent source,
javax.faces.component.UIComponent last,
String expression)
- Description copied from interface:
SearchExpressionResolver
- Resolves a
UIComponent for the last or source UIComponent and for the given
expression string.
- Specified by:
resolve in interface SearchExpressionResolver
- Parameters:
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.
- Returns:
- The resolved
UIComponent or null.
Copyright © 2013. All rights reserved.