com.atlassian.confluence.search.lucene
Class ConfluenceObjectToDocumentConverter

java.lang.Object
  extended by com.atlassian.bonnie.search.BaseDocumentBuilder
      extended by com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder
          extended by com.atlassian.confluence.search.lucene.ConfluenceObjectToDocumentConverter
All Implemented Interfaces:
com.atlassian.bonnie.index.ObjectToDocumentConverter, com.atlassian.bonnie.search.DocumentBuilder

public class ConfluenceObjectToDocumentConverter
extends ConfluenceDocumentBuilder
implements com.atlassian.bonnie.index.ObjectToDocumentConverter


Field Summary
static org.apache.log4j.Category LOG
           
 
Fields inherited from interface com.atlassian.bonnie.search.DocumentBuilder
CLASSNAME_FIELD_NAME, CONTENT_FIELD_NAME, HANDLE_FIELD_NAME
 
Constructor Summary
ConfluenceObjectToDocumentConverter()
           
 
Method Summary
 org.apache.lucene.document.Document convert(java.lang.Object o, java.lang.Object context)
           
 java.lang.String[] getObjectIdentity(java.lang.Object o)
           
 
Methods inherited from class com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder
getExtractors, setPluginAccessor
 
Methods inherited from class com.atlassian.bonnie.search.BaseDocumentBuilder
getDocument, getHandleAttributeStringValue, getInitialDocument, setAnyTypeObjectDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Category LOG
Constructor Detail

ConfluenceObjectToDocumentConverter

public ConfluenceObjectToDocumentConverter()
Method Detail

convert

public org.apache.lucene.document.Document convert(java.lang.Object o,
                                                   java.lang.Object context)
Specified by:
convert in interface com.atlassian.bonnie.index.ObjectToDocumentConverter

getObjectIdentity

public java.lang.String[] getObjectIdentity(java.lang.Object o)
Specified by:
getObjectIdentity in interface com.atlassian.bonnie.index.ObjectToDocumentConverter


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.