Class RowExpressionResolver

java.lang.Object
org.primefaces.expression.impl.RowExpressionResolver
All Implemented Interfaces:
ClientIdSearchExpressionResolver, SearchExpressionResolver

public class RowExpressionResolver extends Object implements SearchExpressionResolver, ClientIdSearchExpressionResolver
SearchExpressionResolver for the "@row" keyword.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveClientIds(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression, Set<SearchExpressionHint> hints)
    Resolves one or multiple clientId's for the given expression string.
    javax.faces.component.UIComponent
    resolveComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression, Set<SearchExpressionHint> hints)
    Resolves a UIComponent for the last or source UIComponent and for the given expression string.
    protected int
    validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RowExpressionResolver

      public RowExpressionResolver()
  • Method Details

    • resolveComponent

      public javax.faces.component.UIComponent resolveComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression, Set<SearchExpressionHint> hints)
      Description copied from interface: SearchExpressionResolver
      Resolves a UIComponent for the last or source UIComponent and for the given expression string.
      Specified by:
      resolveComponent in interface SearchExpressionResolver
      Parameters:
      context - 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.
      hints - The options.
      Returns:
      The resolved UIComponent or null.
    • resolveClientIds

      public String resolveClientIds(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression, Set<SearchExpressionHint> hints)
      Description copied from interface: ClientIdSearchExpressionResolver
      Resolves one or multiple clientId's for the given expression string.
      Specified by:
      resolveClientIds in interface ClientIdSearchExpressionResolver
      Parameters:
      context - 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.
      hints - The options.
      Returns:
      The resolved clientId's or null.
    • validate

      protected int validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression)