org.dspace.app.xmlui.configuration
Class XMLUIConfiguration

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

public class XMLUIConfiguration
extends java.lang.Object

This class reads the XMLUI configuration file.

Author:
Scott Phillips

Constructor Summary
XMLUIConfiguration()
           
 
Method Summary
static java.util.List<Aspect> getAspectChain()
           
static java.util.List<Theme> getThemeRules()
           
static void loadConfig(java.lang.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(java.lang.String... configPaths)
                       throws java.io.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:
java.io.IOException
org.jdom.JDOMException

getAspectChain

public static java.util.List<Aspect> getAspectChain()
Returns:
The configured Aspect chain.

getThemeRules

public static java.util.List<Theme> getThemeRules()
Returns:
The configured Theme rules.


Copyright © 2010 DuraSpace. All Rights Reserved.