net.officefloor.plugin.servlet.webxml.model
Class WebXmlLoader

java.lang.Object
  extended by net.officefloor.plugin.servlet.webxml.model.WebXmlLoader

public class WebXmlLoader
extends Object

Loads the WebAppModel from the web.xml configuration.

Author:
Daniel Sagenschneider

Constructor Summary
WebXmlLoader()
           
 
Method Summary
 WebAppModel loadConfiguration(String webXmlLocation, SectionSourceContext context)
          Loads the WebAppModel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXmlLoader

public WebXmlLoader()
Method Detail

loadConfiguration

public WebAppModel loadConfiguration(String webXmlLocation,
                                     SectionSourceContext context)
                              throws Exception
Loads the WebAppModel.

Parameters:
webXmlLocation - Location of the web.xml.
context - ConfigurationContext.
Returns:
WebAppModel.
Throws:
Exception - If fails to load configuration.


Copyright © 2005-2012. All Rights Reserved.