1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.services.search;
18
19 import java.util.HashSet;
20 import java.util.Set;
21
22 /***
23 * Abstract handler that new handlers can dervie from
24 *
25 * @author <a href="mailto:jford@apache.org">Jeremy Ford</a>
26 * @version $Id: AbstractObjectHandler.java,v 1.3 2004/02/23 03:48:47 jford Exp $
27 */
28 public abstract class AbstractObjectHandler implements ObjectHandler
29 {
30 protected final HashSet fields = new HashSet();
31 protected final HashSet keywords = new HashSet();
32
33
34 /***
35 * @see org.apache.jetspeed.services.search.ObjectHandler#getFields()
36 */
37 public Set getFields()
38 {
39 return fields;
40 }
41
42 /***
43 * @see org.apache.jetspeed.services.search.ObjectHandler#getKeywords()
44 */
45 public Set getKeywords()
46 {
47 return keywords;
48 }
49
50 }