public class XMLConfigurationReaderImpl extends Object implements XMLConfigurationReader<XMLConfigurationHolder>
XMLConfigurationReader implementation.| Constructor and Description |
|---|
XMLConfigurationReaderImpl() |
| Modifier and Type | Method and Description |
|---|---|
XMLConfigurationHolder |
readConfiguration(String xmlFileName)
Read the configuration from the given XML file.
|
XMLConfigurationHolder |
readConfiguration(String xmlFileName,
String schemaFileName)
Read the configuration from the given XML file and validate according provided schema.
|
public XMLConfigurationHolder readConfiguration(String xmlFileName) throws ConfigurationException
XMLConfigurationReaderreadConfiguration in interface XMLConfigurationReader<XMLConfigurationHolder>xmlFileName - The given XML file.ConfigurationException - in case of error during reading configurationpublic XMLConfigurationHolder readConfiguration(String xmlFileName, String schemaFileName) throws ConfigurationException
XMLConfigurationReaderreadConfiguration in interface XMLConfigurationReader<XMLConfigurationHolder>xmlFileName - The given XML file.schemaFileName - The schema file to validate provided XML file.ConfigurationException - in case of error during reading configurationCopyright © 2017 SDL Group. All rights reserved.