org.apache.jetspeed.search
Interface ObjectHandler


public interface ObjectHandler

Contract for implementing a specific object handler. Implementation should convert the object into a document suitable for placement into search index.

Version:
$Id: ObjectHandler.java 516448 2007-03-09 16:25:47Z ate $
Author:
Mark Orciuch

Method Summary
 java.util.Set getFields()
          Returns the set of fields used to create the parsed object.
 java.util.Set getKeywords()
          Returns the set of keywords used to create the parsed object.
 ParsedObject parseObject(java.lang.Object o)
          Parses a specific object into a document suitable for index placement
 

Method Detail

parseObject

ParsedObject parseObject(java.lang.Object o)
Parses a specific object into a document suitable for index placement

Parameters:
o -
Returns:

getFields

java.util.Set getFields()
Returns the set of fields used to create the parsed object.

Returns:

getKeywords

java.util.Set getKeywords()
Returns the set of keywords used to create the parsed object.

Returns:


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.