Generates web.xml deployment descriptor.
contextParams
protected ArrayList contextParams
description
protected String description
displayName
protected String displayName
distributable
protected boolean distributable
largeIcon
protected String largeIcon
servletSpec
protected String servletSpec
sessionTimeout
protected Integer sessionTimeout
smallIcon
protected String smallIcon
tagLibs
protected ArrayList tagLibs
welcomeFiles
protected ArrayList welcomeFiles
addConfiguredContextparam
public void addConfiguredContextparam(WebXmlSubTask.ContextParam cp)
Defines a web application context parameter. May occur multiple times.
cp
- Describe the method parameter
addConfiguredTaglib
public void addConfiguredTaglib(WebXmlSubTask.TagLib taglib)
Declares a custom tag library for the web application's JSPs. May occur multiple times.
taglib
- Describe the method parameter
addConfiguredWelcomefile
public void addConfiguredWelcomefile(WebXmlSubTask.WelcomeFile file)
Defines a welcome file for the web application. May occur multiple times.
file
- Describe the method parameter
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Describe what the method does
- engineStarted in interface xdoclet.TemplateSubTask
xdoclet.XDocletException
-
execute
public void execute()
throws xdoclet.XDocletException
Describe what the method does
- execute in interface xdoclet.TemplateSubTask
xdoclet.XDocletException
-
getContextParams
public ArrayList getContextParams()
Gets the ContextParams attribute of the WebXmlSubTask object
getDescription
public String getDescription()
Gets the Description attribute of the WebXmlSubTask object
getDisplayname
public String getDisplayname()
Gets the Displayname attribute of the WebXmlSubTask object
getDistributable
public boolean getDistributable()
Gets the Distributable attribute of the WebXmlSubTask object
getLargeicon
public String getLargeicon()
Gets the Largeicon attribute of the WebXmlSubTask object
getServletspec
public String getServletspec()
Gets the Servletspec attribute of the WebXmlSubTask object
getSessiontimeout
public Integer getSessiontimeout()
Gets the Sessiontimeout attribute of the WebXmlSubTask object
getSmallicon
public String getSmallicon()
Gets the Smallicon attribute of the WebXmlSubTask object
getTagLibs
public ArrayList getTagLibs()
Gets the TagLibs attribute of the WebXmlSubTask object
getWelcomeFiles
public ArrayList getWelcomeFiles()
Gets the WelcomeFiles attribute of the WebXmlSubTask object
setContextParams
public void setContextParams(ArrayList contextParams)
Sets the ContextParams attribute of the WebXmlSubTask object
contextParams
- The new ContextParams value
setDescription
public void setDescription(String description)
Optional description of the web application.
description
- The new Description value
setDisplayname
public void setDisplayname(String displayName)
Optional short name for the web application that is intended to be displayed by tools.
displayName
- The new Displayname value
setDistributable
public void setDistributable(boolean distributable)
Optional boolean flag indicating whether this web application is programmed appropriately to be deployed into a
distributed servlet container.
distributable
- The new Distributable value
setLargeicon
public void setLargeicon(String largeIcon)
Optional relative path within the web application's war file of a large (32 x 32) icon image in either JPEG or
GIF format.
largeIcon
- The new largeIcon value
setServletspec
public void setServletspec(WebXmlSubTask.ServletVersionTypes servletSpec)
The Servlet spec version to which the web application conforms.
servletSpec
- The new Servletspec value
setSessiontimeout
public void setSessiontimeout(Integer session_timeout)
The default session timeout interval for all sessions created in this web application. The specified timeout must
be expressed in a whole number of minutes. If the timeout is 0 or less, the container ensures the default
behaviour of sessions is never to time out.
session_timeout
- The new Sessiontimeout value
setSmallicon
public void setSmallicon(String smallIcon)
Optional relative path within the web application's war file of a small (16 x 16) icon image in either JPEG or
GIF format.
smallIcon
- The new smallIcon value
setTagLibs
public void setTagLibs(ArrayList tagLibs)
Sets the TagLibs attribute of the WebXmlSubTask object
tagLibs
- The new TagLibs value
setWelcomeFiles
public void setWelcomeFiles(ArrayList welcomeFiles)
Sets the WelcomeFiles attribute of the WebXmlSubTask object
welcomeFiles
- The new WelcomeFiles value