fedora.utilities.install.container
Class FedoraWebXML

java.lang.Object
  extended by fedora.utilities.install.container.FedoraWebXML

public class FedoraWebXML
extends java.lang.Object

Configures the web.xml for Fedora. This class does not create a complete web.xml document from scratch. It assumes that the constructor-provided webXML file has already defined the base set of servlets, servlet-mapping, etc (specifically, the web.xml located in src/war/fedora/WEB-INF/web.xml).

Author:
Edwin Shin

Field Summary
protected static java.lang.String FEDORA_GENERATED
           
 
Constructor Summary
FedoraWebXML(java.lang.String webXML, InstallOptions options)
           
FedoraWebXML(java.lang.String webXML, WebXMLOptions options)
           
 
Method Summary
 void setFedoraHome()
          Sets the init-param/param-value for all servlet elements with init-param/param-name=fedora.home
 void write(java.io.Writer outputWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEDORA_GENERATED

protected static final java.lang.String FEDORA_GENERATED
See Also:
Constant Field Values
Constructor Detail

FedoraWebXML

public FedoraWebXML(java.lang.String webXML,
                    InstallOptions options)

FedoraWebXML

public FedoraWebXML(java.lang.String webXML,
                    WebXMLOptions options)
Method Detail

setFedoraHome

public void setFedoraHome()
Sets the init-param/param-value for all servlet elements with init-param/param-name=fedora.home


write

public void write(java.io.Writer outputWriter)
           throws java.io.IOException
Throws:
java.io.IOException