org.primefaces.expression.impl
Class ParentExpressionResolver

java.lang.Object
  extended by org.primefaces.expression.impl.ParentExpressionResolver
All Implemented Interfaces:
SearchExpressionResolver

public class ParentExpressionResolver
extends Object
implements SearchExpressionResolver

SearchExpressionResolver for the "@parent" keyword.


Constructor Summary
ParentExpressionResolver()
           
 
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
 

Constructor Detail

ParentExpressionResolver

public ParentExpressionResolver()
Method Detail

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.