126127128129130131132
* * @param selector Ancestor filter * @return a {@link SlingQuery} object transformed by this operation */ public SlingQuery closest(String selector) { return functionWithSelector(new ClosestFunction(new Selector(selector, searchStrategy)), ""); }
116117118119120121122