*
* @param complexFilter
* @return TODO: implement filter unrolling
*/
public static Filter unrollFilter(Filter complexFilter, FeatureTypeMapping mapping) {
UnmappingFilterVisitor visitor = UnmappingFilterVisitorFactory.getInstance(mapping);
Filter unrolledFilter = (Filter) complexFilter.accept(visitor, null);
return unrolledFilter;
}