org.apache.jetspeed.util.descriptor
Class WebApplicationDescriptor

java.lang.Object
  extended by 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 *

Field Summary
protected  String contextRoot
           
protected  Reader webXmlReader
           
 
Constructor Summary
WebApplicationDescriptor(Reader webXmlReader, String contextRoot)
           
 
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
 

Field Detail

webXmlReader

protected Reader webXmlReader

contextRoot

protected String contextRoot
Constructor Detail

WebApplicationDescriptor

public WebApplicationDescriptor(Reader webXmlReader,
                                String contextRoot)
Method Detail

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 file
contexRoot - The context root of the web application
locale - The locale of the display name of the web application
displayName - 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.