maiolum.nxdb
Class XMLDataSourceConfigurator
java.lang.Object
maiolum.nxdb.XMLDataSourceConfigurator
- public class XMLDataSourceConfigurator
- extends java.lang.Object
Configures given DataSource from XML file.
This class loads XML file containing module data & index locations.
For each module instantiates one IndexReader based on file given in the XML
and adds that module into datasource.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDataSourceConfigurator
public XMLDataSourceConfigurator()
configure
public static void configure(java.lang.String uri,
ExistDataSource dataSource)
throws BackendException
- Configures given DataSource from XML file specified as String parameter
- Parameters:
uri - specifies URI of the XML from which will be the DataSource configureddataSource - to be configured
- Throws:
BackendException - if the DataSource cannot be configured (XML is corrupted etc)
getPropertyExpander
public PropertyExpander getPropertyExpander()
- Returns:
- Returns the propertyExpander.
setPropertyExpander
public void setPropertyExpander(PropertyExpander propertyExpander)
- Parameters:
propertyExpander - The propertyExpander to set.