View Javadoc

1   package org.sourceforge.jemm.client;
2   
3   import java.lang.reflect.Field;
4   
5   /**
6    * Used with a FieldIterator to say with a field should be returned or not
7    * by the Iterator.
8    * 
9    * @see FieldIterator
10   * @author Paul Keeble
11   *
12   */
13  public interface FieldFilter {
14  	/**
15  	 * 
16  	 * @param f The field to test
17  	 * @return true if the field should be included, false otherwise
18  	 */
19  	boolean accepts(Field f);
20  }