org.openfaces.component.filter
Class PredicateBuilder

java.lang.Object
  extended by org.openfaces.component.filter.FilterCriterionProcessor
      extended by org.openfaces.component.filter.PredicateBuilder

public class PredicateBuilder
extends FilterCriterionProcessor


Constructor Summary
PredicateBuilder()
           
 
Method Summary
static org.apache.commons.collections.Predicate build(FilterCriterion criterion)
          Converts the specified FilterCriterion object into the Commons Collections Predicate object, which can in turn be used for manual filtering of objects against the specified criterion.
static PredicateBuilder getInstance()
          Returns an instance of the PredicateBuilder class, which is used by the build method internally.
 java.lang.Object process(AndFilterCriterion criterion)
          Used by the build method internally.
 java.lang.Object process(ExpressionFilterCriterion criterion)
          Used by the build method internally.
 java.lang.Object process(OrFilterCriterion criterion)
          Used by the build method internally.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateBuilder

public PredicateBuilder()
Method Detail

build

public static org.apache.commons.collections.Predicate build(FilterCriterion criterion)
Converts the specified FilterCriterion object into the Commons Collections Predicate object, which can in turn be used for manual filtering of objects against the specified criterion.


getInstance

public static PredicateBuilder getInstance()
Returns an instance of the PredicateBuilder class, which is used by the build method internally. This method shouldn't normally be invoked by application developers.


process

public java.lang.Object process(ExpressionFilterCriterion criterion)
Used by the build method internally. This method shouldn't normally be invoked by application developers.

Specified by:
process in class FilterCriterionProcessor

process

public java.lang.Object process(AndFilterCriterion criterion)
Used by the build method internally. This method shouldn't normally be invoked by application developers.

Specified by:
process in class FilterCriterionProcessor

process

public java.lang.Object process(OrFilterCriterion criterion)
Used by the build method internally. This method shouldn't normally be invoked by application developers.

Specified by:
process in class FilterCriterionProcessor


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.