/** * Select the children of the current node set that are subtypes of the specified class * * @param klazz class to be selected * @return children of the specified type */ EhcacheQuery children(Class<?> klazz) { return new EhcacheQuery(queryBuilder().chain(query).children().filter(context(identifier(subclassOf(klazz)))).build()); }
/** * Creates a query selecting all children. * * @return children query */ static EhcacheQuery children() { return new EhcacheQuery(queryBuilder().build()).children(); }
/** * Remove instances of the specified type from the node set * * @param klazz class to be excluded * @return current set minus the given type */ EhcacheQuery exclude(Class<?> klazz) { return new EhcacheQuery(queryBuilder().chain(query).filter(context(identifier(not(subclassOf(klazz))))).build()); }
/** * Select the descendants of the current node set * * @return descendants */ EhcacheQuery descendants() { return new EhcacheQuery(queryBuilder().chain(query).descendants().build()); }
/** * Creates a query selecting caches. * * @return cache query */ static EhcacheQuery cache() { return new EhcacheQuery(queryBuilder().build()).children(Cache.class); }
/** * Remove instances of the specified type from the node set * * @param klazz class to be excluded * @return current set minus the given type */ EhcacheQuery exclude(Class<?> klazz) { return new EhcacheQuery(queryBuilder().chain(query).filter(context(identifier(not(subclassOf(klazz))))).build()); }
/** * Select the children of the current node set that are subtypes of the specified class * * @param klazz class to be selected * @return children of the specified type */ EhcacheQuery children(Class<?> klazz) { return new EhcacheQuery(queryBuilder().chain(query).children().filter(context(identifier(subclassOf(klazz)))).build()); }
/** * Creates a query selecting all descendants. * * @return descendants query */ static EhcacheQuery descendants() { return new EhcacheQuery(queryBuilder().build()).descendants(); }
/** * Select the children of the current node set * * @return children */ EhcacheQuery children() { return new EhcacheQuery(queryBuilder().chain(query).children().build()); }
/** * Select the children of the current node set * * @return children */ EhcacheQuery children() { return new EhcacheQuery(queryBuilder().chain(query).children().build()); }
/** * Creates a query selecting all children. * * @return children query */ static EhcacheQuery children() { return new EhcacheQuery(queryBuilder().build()).children(); }
/** * Creates a query selecting caches. * * @return cache query */ static EhcacheQuery cache() { return new EhcacheQuery(queryBuilder().build()).children(Cache.class); }
/** * Creates a query selecting all descendants. * * @return descendants query */ static EhcacheQuery descendants() { return new EhcacheQuery(queryBuilder().build()).descendants(); }
/** * Select the descendants of the current node set * * @return descendants */ EhcacheQuery descendants() { return new EhcacheQuery(queryBuilder().chain(query).descendants().build()); }
/** * Creates a query selecting all children. * * @return children query */ static EhcacheQuery children() { return new EhcacheQuery(queryBuilder().build()).children(); }
/** * Creates a query selecting all descendants. * * @return descendants query */ static EhcacheQuery descendants() { return new EhcacheQuery(queryBuilder().build()).descendants(); }
/** * Creates a query selecting caches. * * @return cache query */ static EhcacheQuery cache() { return new EhcacheQuery(queryBuilder().build()).children(Cache.class); }
/** * Remove instances of the specified type from the node set * * @param klazz class to be excluded * @return current set minus the given type */ EhcacheQuery exclude(Class<?> klazz) { return new EhcacheQuery(queryBuilder().chain(query).filter(context(identifier(not(subclassOf(klazz))))).build()); }
/** * Select the children of the current node set that are subtypes of the specified class * * @param klazz class to be selected * @return children of the specified type */ EhcacheQuery children(Class<?> klazz) { return new EhcacheQuery(queryBuilder().chain(query).children().filter(context(identifier(subclassOf(klazz)))).build()); }
/** * Select the children of the current node set * * @return children */ EhcacheQuery children() { return new EhcacheQuery(queryBuilder().chain(query).children().build()); }