This project has retired. For details please refer to its
        
        Attic page.
      
 
org.apache.lenya.lucene.index
Class ConfigurableIndexer
java.lang.Object
  
org.apache.lenya.lucene.index.AbstractIndexer
      
org.apache.lenya.lucene.index.ConfigurableIndexer
- All Implemented Interfaces: 
 - Indexer
 
public class ConfigurableIndexer
- extends AbstractIndexer
 
 
 
 
 
| 
Method Summary | 
 DocumentCreator | 
createDocumentCreator(org.w3c.dom.Element indexer,
                      java.lang.String configFileName)
 
          Instantiate a Document Creator for creating Lucene Documents | 
 java.io.FileFilter | 
getFilter(org.w3c.dom.Element indexer,
          java.lang.String configFileName)
 
          Returns the filter used to receive the indexable files. | 
protected  java.lang.String | 
getStylesheet(java.io.File configurationFile)
 
          Converts the configuration file to an XSLT stylesheet and returns a reader that reads this stylesheet. | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CONFIGURATION_CREATOR_STYLESHEET
public static final java.lang.String CONFIGURATION_CREATOR_STYLESHEET
- See Also:
 - Constant Field Values
 
ConfigurableIndexer
public ConfigurableIndexer()
createDocumentCreator
public DocumentCreator createDocumentCreator(org.w3c.dom.Element indexer,
                                             java.lang.String configFileName)
                                      throws java.lang.Exception
- Instantiate a Document Creator for creating Lucene Documents
- Specified by:
 createDocumentCreator in class AbstractIndexer
 
- Parameters:
 element - indexer node
- Returns:
 - DocumentCreator
 - Throws:
 java.lang.Exception - DOCUMENT ME!
 
 
getStylesheet
protected java.lang.String getStylesheet(java.io.File configurationFile)
                                  throws java.lang.Exception
- Converts the configuration file to an XSLT stylesheet and returns a reader that reads this stylesheet.
- Throws:
 java.lang.Exception
 
 
getFilter
public java.io.FileFilter getFilter(org.w3c.dom.Element indexer,
                                    java.lang.String configFileName)
- Returns the filter used to receive the indexable files.
- Overrides:
 getFilter in class AbstractIndexer
 
 
 
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.