Class TrafficVarFilter
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.TrafficVarFilter
-
-
Constructor Summary
Constructors Constructor Description TrafficVarFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
filter(JSONObject obj)
Returns true if variable is of the correct type, false otherwise.String
getJSArray(JSONObject obj)
Returns a String representation of a JS array for this JSONObject.Boolean
indexOf(JSONObject obj, String query)
Returnstrue
if one of its properties does contain the query string,false
otherwise.
-
-
-
Method Detail
-
filter
public Boolean filter(JSONObject obj)
Description copied from interface:Filter
Returns true if variable is of the correct type, false otherwise.
-
indexOf
public Boolean indexOf(JSONObject obj, String query)
Description copied from interface:Filter
Returnstrue
if one of its properties does contain the query string,false
otherwise.
-
getJSArray
public String getJSArray(JSONObject obj)
Description copied from interface:Filter
Returns a String representation of a JS array for this JSONObject.- Specified by:
getJSArray
in interfaceFilter
- Parameters:
obj
- Variable object- Returns:
- String representaiton of a JS array (i.e ['evar1','My evar (eVar)'])
-
-