org.apache.jetspeed.util.descriptor
Class WebApplicationDescriptor
java.lang.Object
org.apache.jetspeed.util.descriptor.WebApplicationDescriptor
public class WebApplicationDescriptor
- extends java.lang.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 *
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webXmlReader
protected java.io.Reader webXmlReader
contextRoot
protected java.lang.String contextRoot
WebApplicationDescriptor
public WebApplicationDescriptor(java.io.Reader webXmlReader,
java.lang.String contextRoot)
createWebApplication
public 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-2009 Apache Software Foundation. All Rights Reserved.