net.sf.regain.search.config
Class DefaultSearchConfigFactory
java.lang.Object
net.sf.regain.search.config.DefaultSearchConfigFactory
- All Implemented Interfaces:
- SearchConfigFactory
public class DefaultSearchConfigFactory
- extends Object
- implements SearchConfigFactory
Loads the search config from a XML file. The location of the XML file is
specified by the init parameter "searchConfigFile".
- Author:
- Tilman Schneider, STZ-IDA an der FH Karlsruhe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSearchConfigFactory
public DefaultSearchConfigFactory()
createSearchConfig
public SearchConfig createSearchConfig(PageRequest request)
throws RegainException
- Creates the configuration of the search mask.
- Specified by:
createSearchConfig
in interface SearchConfigFactory
- Parameters:
request
- The page request. Used to get the "configFile" init
parameter, which holds the name of the configuration file.
- Returns:
- The configuration of the search mask.
- Throws:
RegainException
- If loading failed.
Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info