Examples of NextFunction


Examples of com.cognifide.sling.query.function.NextFunction

   *
   * @param selector Next sibling filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery next(String selector) {
    return functionWithSelector(new NextFunction(null), selector);
  }
View Full Code Here

Examples of com.cognifide.sling.query.function.NextFunction

   *
   * @param selector Following siblings filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery nextAll(String selector) {
    return functionWithSelector(new NextFunction(new RejectingPredicate<Resource>()), selector);
  }
View Full Code Here

Examples of com.cognifide.sling.query.function.NextFunction

   * @param until Selector marking when the operation should stop
   * @param selector Following siblings filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery nextUntil(String until, String selector) {
    return functionWithSelector(new NextFunction(new Selector(until, searchStrategy).asPredicate()),
        selector);
  }
View Full Code Here

Examples of com.cognifide.sling.query.function.NextFunction

   *
   * @param selector Next sibling filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery next(String selector) {
    return functionWithSelector(new NextFunction(null), selector);
  }
View Full Code Here

Examples of com.cognifide.sling.query.function.NextFunction

   *
   * @param selector Following siblings filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery nextAll(String selector) {
    return functionWithSelector(new NextFunction(new RejectingPredicate()), selector);
  }
View Full Code Here

Examples of com.cognifide.sling.query.function.NextFunction

   * @param until Selector marking when the operation should stop
   * @param selector Following siblings filter
   * @return a {@link SlingQuery} object transformed by this operation
   */
  public SlingQuery nextUntil(String until, String selector) {
    return functionWithSelector(new NextFunction(new Selector(until, searchStrategy).asPredicate()),
        selector);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.