KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > jcr > impl > core > itemfilters > ItemFilter


1 package org.exoplatform.services.jcr.impl.core.itemfilters;
2
3 import javax.jcr.Item;
4
5 public interface ItemFilter {
6
7   /**
8    * Returns <code>true</code> if the specified element is to be
9    * included in the set of child elements returbned by
10    * <code>{@link Node#getElements(ElementFilter filter)}</code>.
11    *
12    * @param element The element to be tested for inclusion in the returned set.
13    * @return a <code>boolean</code>.
14    */

15   public boolean accept(Item item);
16 }
17
Popular Tags