portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/search ObjectHandler.java AbstractObjectHandler.java
Date Tue, 17 Feb 2004 22:32:40 GMT
jford       2004/02/17 14:32:40

  Modified:    src/java/org/apache/jetspeed/services/search
                        ObjectHandler.java AbstractObjectHandler.java
  Log:
  Added getKeywords method to complement getFields
  
  Revision  Changes    Path
  1.3       +7 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/ObjectHandler.java
  
  Index: ObjectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/ObjectHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ObjectHandler.java	17 Feb 2004 03:57:21 -0000	1.2
  +++ ObjectHandler.java	17 Feb 2004 22:32:39 -0000	1.3
  @@ -78,5 +78,11 @@
        * @return
        */
       public Set getFields();
  +    
  +    /**
  +     * Returns the set of keywords used to create the parsed object.
  +     * @return
  +     */
  +    public Set getKeywords();
   }
   
  
  
  
  1.2       +10 -1     jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/AbstractObjectHandler.java
  
  Index: AbstractObjectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/AbstractObjectHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractObjectHandler.java	17 Feb 2004 03:56:19 -0000	1.1
  +++ AbstractObjectHandler.java	17 Feb 2004 22:32:39 -0000	1.2
  @@ -66,6 +66,7 @@
   public abstract class AbstractObjectHandler implements ObjectHandler
   {
       protected final HashSet fields = new HashSet();
  +    protected final HashSet keywords = new HashSet();
       
   
       /** 
  @@ -74,6 +75,14 @@
       public Set getFields()
       {
          return fields;
  +    }
  +    
  +    /**
  +     * @see org.apache.jetspeed.services.search.ObjectHandler#getKeywords()
  +     */
  +    public Set getKeywords()
  +    {
  +        return keywords;
       }
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message