|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.site.config.AbstractDocumentFactory
no.sesat.search.mode.SearchModeFactory
public final class SearchModeFactory
Controlling class around the deserialisation of modes.xml into all the SearchModes. This in turn deserialises all SearchConfigurations, QueryTransformers, QueryBuilders, and ResultHandlers.
| Nested Class Summary | |
|---|---|
static interface |
SearchModeFactory.Context
The context any SearchModeFactory must work against. |
| Nested classes/interfaces inherited from class no.sesat.search.site.config.AbstractDocumentFactory |
|---|
AbstractDocumentFactory.ParseType |
| Field Summary | |
|---|---|
static String |
MODES_XMLFILE
The name of the modes configuration file. |
| Method Summary | |
|---|---|
SearchMode |
getMode(String id)
Returns the mode with given identifier. |
static SearchModeFactory |
instanceOf(SearchModeFactory.Context cxt)
Returns the factory for the site in the context. |
boolean |
remove(Site site)
Removes mode factory associated with site causing configuration to be reloaded. |
| Methods inherited from class no.sesat.search.site.config.AbstractDocumentFactory |
|---|
beanToXmlName, fillBeanProperty, parseBoolean, parseFloat, parseInt, parseString, xmlToBeanName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MODES_XMLFILE
| Method Detail |
|---|
public static SearchModeFactory instanceOf(SearchModeFactory.Context cxt)
cxt - The context.
public boolean remove(Site site)
remove in interface SiteKeyedFactorysite - The site to remove.
public SearchMode getMode(String id)
id - The mode identifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||