com.atlassian.user.configuration.xml
Class XMLConfigurationParser
java.lang.Object
com.atlassian.user.configuration.xml.XMLConfigurationParser
public class XMLConfigurationParser
- extends Object
Parses repository definitions and configuration out of an atlassian-user.xml file, with fall-back
to the defaults loaded by the XMLDefaultsParser.
TODO: Document the file format.
- See Also:
XMLDefaultsParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLConfigurationParser
public XMLConfigurationParser()
throws ConfigurationException
- Throws:
ConfigurationException
XMLConfigurationParser
public XMLConfigurationParser(String defaultsFileName)
throws ConfigurationException
- Throws:
ConfigurationException
parse
public void parse(InputStream docIS)
throws ConfigurationException
- Throws:
ConfigurationException
parseRepositories
protected void parseRepositories(org.dom4j.Node repositoriesNode)
throws ConfigurationException,
org.dom4j.DocumentException,
IOException
- Throws:
ConfigurationException
org.dom4j.DocumentException
IOException
getRepositoryConfigurations
public List<RepositoryConfiguration> getRepositoryConfigurations()
- Returns:
- an unmodifiable list of
RepositoryConfigurations in order of delegation.
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.