org.apache.logging.log4j.core.config
Class XMLConfigurationFactory
java.lang.Object
org.apache.logging.log4j.core.config.ConfigurationFactory
org.apache.logging.log4j.core.config.XMLConfigurationFactory
public class XMLConfigurationFactory
- extends ConfigurationFactory
Factory to construct an XMLConfiguration.
Field Summary |
static String[] |
SUFFIXES
Valid file extensions for XML files. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUFFIXES
public static final String[] SUFFIXES
- Valid file extensions for XML files.
XMLConfigurationFactory
public XMLConfigurationFactory()
getConfiguration
public Configuration getConfiguration(ConfigurationFactory.ConfigurationSource source)
- Returns the Configuration.
- Specified by:
getConfiguration
in class ConfigurationFactory
- Parameters:
source
- The InputSource.
- Returns:
- The Configuration.
getSupportedTypes
public String[] getSupportedTypes()
- Returns the file suffixes for XML files.
- Specified by:
getSupportedTypes
in class ConfigurationFactory
- Returns:
- An array of File extensions.
Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.