org.dspace.app.xmlui.configuration
Class XMLUIConfiguration

java.lang.Object
  extended by org.dspace.app.xmlui.configuration.XMLUIConfiguration

public class XMLUIConfiguration
extends Object

This class reads the XMLUI configuration file.

Author:
Scott Phillips

Constructor Summary
XMLUIConfiguration()
           
 
Method Summary
static List<Aspect> getAspectChain()
           
static List<Theme> getThemeRules()
           
static void loadConfig(String... configPaths)
          Initialize the XMLUI Configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUIConfiguration

public XMLUIConfiguration()
Method Detail

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.