org.primefaces.expression.impl
Class IdExpressionResolver

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

public class IdExpressionResolver
extends Object
implements SearchExpressionResolver

SearchExpressionResolver for simple id's.


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

IdExpressionResolver

public IdExpressionResolver()
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.