T - Implementation of ConfigurationHolder interface.public interface XMLConfigurationReader<T extends ConfigurationHolder>
| Modifier and Type | Method and Description |
|---|---|
T |
readConfiguration(String xmlFileName)
Read the configuration from the given XML file.
|
T |
readConfiguration(String xmlFileName,
String schemaFileName)
Read the configuration from the given XML file and validate according provided schema.
|
T readConfiguration(String xmlFileName) throws ConfigurationException
xmlFileName - The given XML file.ConfigurationException - in case of error during reading configurationT readConfiguration(String xmlFileName, String schemaFileName) throws ConfigurationException
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.