org.dspace.app.xmlui.configuration
Class XMLUIConfiguration
java.lang.Object
org.dspace.app.xmlui.configuration.XMLUIConfiguration
public class XMLUIConfiguration
- extends Object
This class reads the XMLUI configuration file.
- Author:
- Scott Phillips
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUIConfiguration
public XMLUIConfiguration()
loadConfig
public static void loadConfig(String... configPaths)
throws IOException,
org.jdom.JDOMException
- Initialize the XMLUI Configuration.
Load and parse the xmlui.xconf configuration file for a list of
installed aspects and themes. Multiple configuration paths may be
supplied but only the first valid file (exists and readable) will
be used.
- Parameters:
configPaths - Multiple paths configuration paths may be specified
- Throws:
IOException
org.jdom.JDOMException
getAspectChain
public static List<Aspect> getAspectChain()
- Returns:
- The configured Aspect chain.
getThemeRules
public static List<Theme> getThemeRules()
- Returns:
- The configured Theme rules.
Copyright © 2013 DuraSpace. All Rights Reserved.