org.hibernate.lucene
Class DocumentBuilder<T>

java.lang.Object
  extended by org.hibernate.lucene.DocumentBuilder<T>

public class DocumentBuilder<T>
extends Object


Constructor Summary
DocumentBuilder(Class<?> clazz, org.apache.lucene.analysis.Analyzer analyzer, DirectoryProvider directory)
           
 
Method Summary
 org.apache.lucene.analysis.Analyzer getAnalyzer()
           
 DirectoryProvider getDirectoryProvider()
           
 org.apache.lucene.document.Document getDocument(T instance, Serializable id)
           
 org.apache.lucene.index.Term getTerm(Serializable id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBuilder

public DocumentBuilder(Class<?> clazz,
                       org.apache.lucene.analysis.Analyzer analyzer,
                       DirectoryProvider directory)
Method Detail

getDocument

public org.apache.lucene.document.Document getDocument(T instance,
                                                       Serializable id)

getTerm

public org.apache.lucene.index.Term getTerm(Serializable id)

getDirectoryProvider

public DirectoryProvider getDirectoryProvider()

getAnalyzer

public org.apache.lucene.analysis.Analyzer getAnalyzer()