org.apache.jetspeed.util.descriptor
Class WebApplicationDescriptor
java.lang.Object
org.apache.jetspeed.util.descriptor.WebApplicationDescriptor
public class WebApplicationDescriptor
- extends Object
Utilities for manipulating the web.xml deployment descriptor
- Version:
- $Id: WebDescriptorUtilities.java,v 1.2 2004/05/12 22:25:04 taylor
Exp $
- Author:
- Ate Douma *
Method Summary |
org.apache.jetspeed.om.common.servlet.MutableWebApplication |
createWebApplication()
Load a web.xml file into a Web Application tree |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webXmlReader
protected Reader webXmlReader
contextRoot
protected String contextRoot
WebApplicationDescriptor
public WebApplicationDescriptor(Reader webXmlReader,
String contextRoot)
createWebApplication
public org.apache.jetspeed.om.common.servlet.MutableWebApplication createWebApplication()
throws PortletApplicationException
- Load a web.xml file into a Web Application tree
- Parameters:
pathWebXML
- The path to the web.xml filecontexRoot
- The context root of the web applicationlocale
- The locale of the display name of the web applicationdisplayName
- The display name of the web application
- Returns:
- The Java object tree representing web.xml
- Throws:
PortletApplicationException
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.