org.openfaces.component.filter
Class JSONBuilder

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

public class JSONBuilder
extends FilterCriterionProcessor


Constructor Summary
JSONBuilder()
           
 
Method Summary
static JSONObject build(FilterCriterion filterCriterion)
           
static JSONBuilder getInstance()
           
static FilterCriterion parse(JSONObject jsonObject)
           
static FilterCriterion parse(JSONObject jsonObject, PropertyLocatorFactory locatorFactory)
           
 JSONObject process(AndFilterCriterion criterion)
           
 JSONObject process(ExpressionFilterCriterion criterion)
           
 JSONObject process(OrFilterCriterion criterion)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONBuilder

public JSONBuilder()
Method Detail

parse

public static FilterCriterion parse(JSONObject jsonObject)
                             throws JSONException
Throws:
JSONException

parse

public static FilterCriterion parse(JSONObject jsonObject,
                                    PropertyLocatorFactory locatorFactory)
                             throws JSONException
Throws:
JSONException

build

public static JSONObject build(FilterCriterion filterCriterion)

process

public JSONObject process(ExpressionFilterCriterion criterion)
Specified by:
process in class FilterCriterionProcessor

process

public JSONObject process(AndFilterCriterion criterion)
Specified by:
process in class FilterCriterionProcessor

process

public JSONObject process(OrFilterCriterion criterion)
Specified by:
process in class FilterCriterionProcessor

getInstance

public static JSONBuilder getInstance()


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