|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.index.writer.XMLFileIndexingWriterFactory
public class XMLFileIndexingWriterFactory
Factory used to create the XmlFileIndexingWriter appropriate for handling a given XML format.
XMLFileIndexingWriter
Constructor Summary | |
---|---|
XMLFileIndexingWriterFactory(RecordDataService rds,
SimpleLuceneIndex simpleLuceneIndex,
XMLIndexerFieldsConfig xmlIndexerFieldsConfig)
Constructor for use when a RecordDataService is needed. |
|
XMLFileIndexingWriterFactory(RecordDataService rds,
SimpleLuceneIndex simpleLuceneIndex,
XMLIndexerFieldsConfig xmlIndexerFieldsConfig,
Hashtable additionalIndexers)
Constructor for use when a RecordDataService is needed. |
|
XMLFileIndexingWriterFactory(SimpleLuceneIndex simpleLuceneIndex,
XMLIndexerFieldsConfig xmlIndexerFieldsConfig)
Constructor for use when no RecordDataService is needed. |
Method Summary | |
---|---|
XMLFileIndexingWriter |
getIndexingWriter(String collection,
String xmlFormat)
Gets the XML indexingWriter appropriate for indexing the given xml format. |
Class |
getIndexingWriterClass(String xmlFormat)
returns a FileIndexing Class that can be instantiated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLFileIndexingWriterFactory(SimpleLuceneIndex simpleLuceneIndex, XMLIndexerFieldsConfig xmlIndexerFieldsConfig)
index
- The index being usedpublic XMLFileIndexingWriterFactory(RecordDataService rds, SimpleLuceneIndex simpleLuceneIndex, XMLIndexerFieldsConfig xmlIndexerFieldsConfig, Hashtable additionalIndexers)
rds
- The RecordDataService being used, or null if none needed.simpleLuceneIndex
- The index being usedadditionalIndexers
- public XMLFileIndexingWriterFactory(RecordDataService rds, SimpleLuceneIndex simpleLuceneIndex, XMLIndexerFieldsConfig xmlIndexerFieldsConfig)
rds
- The RecordDataService being used, or null if none needed.simpleLuceneIndex
- The index being usedMethod Detail |
---|
public Class getIndexingWriterClass(String xmlFormat)
xmlFormat
-
public XMLFileIndexingWriter getIndexingWriter(String collection, String xmlFormat) throws Exception
collection
- The collection key, for example dcc, comet, etc.xmlFormat
- The xml format specifier, for example adn, news_opps, dlese_collect.
Exception
- If error creating the writer
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |