com.atlassian.user.configuration.xml
Class XMLConfigurationParser
java.lang.Object
com.atlassian.user.configuration.xml.XMLConfigurationParser
- public class XMLConfigurationParser
- extends java.lang.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
XMLConfigurationParser
public XMLConfigurationParser(java.lang.String defaultsFileName)
throws ConfigurationException
parse
public void parse(java.io.InputStream docIS)
throws ConfigurationException
- Throws:
ConfigurationException
parseRepositories
protected void parseRepositories(org.dom4j.Node repositoriesNode)
throws ConfigurationException,
org.dom4j.DocumentException,
java.io.IOException
- Throws:
ConfigurationException
org.dom4j.DocumentException
java.io.IOException
getRepositoryConfigurations
public java.util.List getRepositoryConfigurations()
- Returns:
- an unmodifiable list of
RepositoryConfiguration
s in order of delegation.
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.