xdoclet.web
Class WebXmlSubTask
java.lang.Object
|
+--xdoclet.DocletSupport
|
+--xdoclet.SubTask
|
+--xdoclet.TemplateSubTask
|
+--xdoclet.XmlSubTask
|
+--xdoclet.web.WebXmlSubTask
- All Implemented Interfaces:
- java.io.Serializable
- public class WebXmlSubTask
- extends XmlSubTask
Generates web.xml deployment descriptor.
- Version:
- $Revision: 1.15 $
- Author:
- Ara Abrahamian (ara_e@email.com)
- See Also:
- Serialized Form
Methods inherited from class xdoclet.XmlSubTask |
copyAttributesFrom, engineFinished, getDtdFileName, getPublicId, getSchema, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdFileName, setPublicId, setSchema, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess |
Methods inherited from class xdoclet.TemplateSubTask |
addPackageSubstitution, beanFile, generateForClass, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getHavingClassTag, getOfType, getPackageSubstitutions, getParser, getSubTaskClassName, getTemplateURL, init, isGuessGenerationNeeded, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, setDestinationFile, setEngine, setExtent, setExtentValue, setGuessGenerationNeeded, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setParser, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, validateOptions |
Methods inherited from class xdoclet.DocletSupport |
getCurrentClass, getCurrentConstructor, getCurrentField, getCurrentMethod, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentConstructor, setCurrentField, setCurrentMethod, setCurrentPackage, setCurrentTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBTASK_NAME
public static final java.lang.String SUBTASK_NAME
servletspec
protected java.lang.String servletspec
smallicon
protected java.lang.String smallicon
largeicon
protected java.lang.String largeicon
displayname
protected java.lang.String displayname
description
protected java.lang.String description
distributable
protected boolean distributable
contextParams
protected java.util.Vector contextParams
sessiontimeout
protected int sessiontimeout
welcomeFiles
protected java.util.Vector welcomeFiles
tagLibs
protected java.util.Vector tagLibs
WebXmlSubTask
public WebXmlSubTask()
getSubTaskName
public java.lang.String getSubTaskName()
- Overrides:
getSubTaskName
in class TemplateSubTask
getServletspec
public java.lang.String getServletspec()
getContextParams
public java.util.Vector getContextParams()
getSmallicon
public java.lang.String getSmallicon()
getLargeicon
public java.lang.String getLargeicon()
getDisplayname
public java.lang.String getDisplayname()
getDescription
public java.lang.String getDescription()
getDistributable
public boolean getDistributable()
getSessiontimeout
public int getSessiontimeout()
getWelcomeFiles
public java.util.Vector getWelcomeFiles()
getTagLibs
public java.util.Vector getTagLibs()
setServletspec
public void setServletspec(WebXmlSubTask.ServletVersionTypes new_servletspec)
setSmallicon
public void setSmallicon(java.lang.String new_icon)
setLargeicon
public void setLargeicon(java.lang.String new_icon)
setDisplayname
public void setDisplayname(java.lang.String new_display_name)
setDescription
public void setDescription(java.lang.String new_description)
setDistributable
public void setDistributable(boolean distributable)
setSessiontimeout
public void setSessiontimeout(int session_timeout)
setTagLibs
public void setTagLibs(java.util.Vector tagLibs)
setWelcomeFiles
public void setWelcomeFiles(java.util.Vector welcomeFiles)
setContextParams
public void setContextParams(java.util.Vector contextParams)
addContextparam
public void addContextparam(WebXmlSubTask.ContextParam cp)
addWelcomefile
public void addWelcomefile(WebXmlSubTask.WelcomeFile file)
addTaglib
public void addTaglib(WebXmlSubTask.TagLib taglib)
execute
public void execute()
throws XDocletException
- Description copied from class:
SubTask
- Called to start execution of the sub-task.
- Overrides:
execute
in class TemplateSubTask
- Following copied from class:
xdoclet.SubTask
- Throws:
XDocletException
- Description of Exception
engineStarted
protected void engineStarted()
throws XDocletException
- Overrides:
engineStarted
in class TemplateSubTask