Class EvarFilter
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.EvarFilter
-
- All Implemented Interfaces:
Filter
- Direct Known Subclasses:
MerchandisingFilter
public class EvarFilter extends java.lang.Object implements Filter
-
-
Constructor Summary
Constructors Constructor Description EvarFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Booleanfilter(JSONObject obj)Returns true if variable is of the correct type, false otherwise.java.lang.StringgetJSArray(JSONObject obj)Returns a String representation of a JS array for this JSONObject.java.lang.BooleanindexOf(JSONObject obj, java.lang.String query)Returnstrueif one of its properties does contain the query string,falseotherwise.
-
-
-
Method Detail
-
filter
public java.lang.Boolean filter(JSONObject obj)
Description copied from interface:FilterReturns true if variable is of the correct type, false otherwise.
-
indexOf
public java.lang.Boolean indexOf(JSONObject obj, java.lang.String query)
Description copied from interface:FilterReturnstrueif one of its properties does contain the query string,falseotherwise.
-
getJSArray
public java.lang.String getJSArray(JSONObject obj)
Description copied from interface:FilterReturns a String representation of a JS array for this JSONObject.- Specified by:
getJSArrayin interfaceFilter- Parameters:
obj- Variable object- Returns:
- String representaiton of a JS array (i.e ['evar1','My evar (eVar)'])
-
-