public class SearchEngineConfigurationLoaderImpl extends XmlBeanMapper<SearchEngineConfigurationBean> implements SearchEngineConfigurationLoader
SearchEngineConfigurationLoader interface.| Constructor and Description |
|---|
SearchEngineConfigurationLoaderImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isIgnoreUndefinedNodes() |
SearchEngineConfigurationHolder |
loadConfiguration()
This method reads the configuration from
SearchConfiguration.DEFAULT_CONFIGURATION_URL. |
SearchEngineConfigurationHolder |
loadConfiguration(String locationUrl)
This method reads the configuration from the given
location. |
doInitialize, getJaxbContext, getOrCreateMarshaller, getOrCreateUnmarshaller, getResourceFactory, getStaxUtil, handleEvent, isXIncludeAware, loadXml, loadXml, loadXml, loadXml, saveXml, saveXml, saveXml, setResourceFactory, setStaxUtil, setXIncludeAware, validatecreateLogger, getLoggerdoInitialized, getInitializationState, initializepublic SearchEngineConfigurationLoaderImpl()
protected boolean isIgnoreUndefinedNodes()
isIgnoreUndefinedNodes in class XmlBeanMapper<SearchEngineConfigurationBean>true if undefined tags and attributes should be ignored (may be useful for compatibility),
false if they shall cause an exception (default is false).public SearchEngineConfigurationHolder loadConfiguration()
SearchConfiguration.DEFAULT_CONFIGURATION_URL.loadConfiguration in interface SearchConfigurationLoaderloadConfiguration in interface SearchEngineConfigurationLoaderJaxbBeanHolder.public SearchEngineConfigurationHolder loadConfiguration(String locationUrl)
location. The configuration data is
parsed according to its format (typically XML) and returned as JaxbBeanHolder.loadConfiguration in interface SearchConfigurationLoaderloadConfiguration in interface SearchEngineConfigurationLoaderlocationUrl - is the location where the SearchConfiguration data shall be read from. This is
typically a path into the filesystem (e.g. "file://~/.mmm/search.xml"). Please note that "file://"
can be omitted.JaxbBeanHolder.Copyright © 2001–2016 mmm-Team. All rights reserved.