1 /***
2 Copyright (C) 2005 The Java Community
3
4 This program is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free Software
6 Foundation; either version 2 of the License, or (at your option) any later
7 version.
8
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15 Place, Suite 330, Boston, MA 02111-1307 USA.
16
17 */
18 package org.bejug.javacareers.common.search;
19
20 /***
21 * @author Bart Meyers (last modified by $Author: stephan_janssen $)
22 * @version $Revision: 1.2 $ $Date: 2005/10/11 07:49:18 $
23 *
24 */
25 public class SearchCriteriaFactoryImpl implements SearchCriteriaFactory {
26
27 /***
28 * {@inheritDoc}
29 */
30 public SearchCriteria createSearchCriteria(Class clazz) {
31 return new SearchCriteria(clazz);
32 }
33
34 /***
35 * {@inheritDoc}
36 */
37 public SearchCriteria createSearchCriteria(Class clazz, int maxResults) {
38 return new SearchCriteria(clazz, maxResults);
39 }
40
41 }
42 /***
43 * $Log: SearchCriteriaFactoryImpl.java,v $
44 * Revision 1.2 2005/10/11 07:49:18 stephan_janssen
45 * Added CVS footer.
46 *
47 */