xdoclet.modules.macromedia.jrun.web
Class JRunWebXmlSubTask

java.lang.Object
  extended by xdoclet.DocletSupport
      extended by xdoclet.SubTask
          extended by xdoclet.TemplateSubTask
              extended by xdoclet.XmlSubTask
                  extended by xdoclet.modules.macromedia.jrun.web.JRunWebXmlSubTask
All Implemented Interfaces:
java.io.Serializable

public class JRunWebXmlSubTask
extends XmlSubTask

Generates jrun-web.xml deployment descriptor.

Version:
$Revision: 1.8 $
Author:
Dan Schaffer (dschaffer@macromedia.com)
See Also:
Serialized Form
ant.element
display-name = "JRun" name = "jrunwebxml" parent = "xdoclet.modules.web.WebDocletTask"
created
February 7, 2002

Nested Class Summary
 
Nested classes/interfaces inherited from class xdoclet.TemplateSubTask
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
 
Field Summary
protected  java.lang.String compile
           
protected  java.lang.String contextRoot
          The Security Domain, defaults to "" because it is not included if not set in the build.xml.
protected  java.lang.String loadSystemClassesFirst
           
protected  java.lang.String reload
           
 
Fields inherited from class xdoclet.DocletSupport
currentClassTag, currentFieldTag, currentMethodTag
 
Constructor Summary
JRunWebXmlSubTask()
          Describe what the JRunWebXmlSubTask constructor does
 
Method Summary
 java.lang.String getCompile()
          Return the Compile setting.
 java.lang.String getContextRoot()
          Return the Context Root of the web application.
 java.lang.String getLoadSystemClassesFirst()
          Return the Load-System-Classes-First setting.
 java.lang.String getReload()
          Return the Reload setting.
 void setCompile(java.lang.String compile)
          Set the Compile setting to either true or false.
 void setContextRoot(java.lang.String contextRoot)
          Set the Context Root..
 void setLoadSystemClassesFirst(java.lang.String loadSystemClassesFirst)
          Set the LoadSystemClassesFirst setting to either true or false.
 void setReload(java.lang.String reload)
          Set the Reload setting to either true or false.
 
Methods inherited from class xdoclet.XmlSubTask
copyAttributesFrom, engineFinished, getDtdURL, getPublicId, getSchema, getSchemaURL, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdURL, setPublicId, setSchema, setSchemaURL, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess
 
Methods inherited from class xdoclet.TemplateSubTask
addOfType, addOfType, addPackageSubstitution, engineStarted, execute, generateForClass, getAcceptAbstractClasses, getAcceptInterfaces, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getGenerationManager, getHavingClassTag, getOfType, getPackageSubstitutions, getSubTaskClassName, getTemplateURL, init, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, processInnerClasses, setAcceptAbstractClasses, setAcceptInterfaces, setDestinationFile, setEngine, setExtent, setExtentValue, setGenerationManager, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, startProcessForAll, startProcessPerClass, validateOptions
 
Methods inherited from class xdoclet.SubTask
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName
 
Methods inherited from class xdoclet.DocletSupport
getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextRoot

protected java.lang.String contextRoot
The Security Domain, defaults to "" because it is not included if not set in the build.xml.


reload

protected java.lang.String reload

compile

protected java.lang.String compile

loadSystemClassesFirst

protected java.lang.String loadSystemClassesFirst
Constructor Detail

JRunWebXmlSubTask

public JRunWebXmlSubTask()
Describe what the JRunWebXmlSubTask constructor does

Method Detail

getContextRoot

public java.lang.String getContextRoot()
Return the Context Root of the web application. This is where the webApp will be installed in the browser (e.g. http://localhost:8100/contextRoot

Returns:
The Context Root

getReload

public java.lang.String getReload()
Return the Reload setting. Determines whether to automatically reload servlets, helper classes, jsp helper classes.

Returns:
reload setting either true or false

getCompile

public java.lang.String getCompile()
Return the Compile setting. Determines whether to automatically compile servlets

Returns:
compile setting either true or false

getLoadSystemClassesFirst

public java.lang.String getLoadSystemClassesFirst()
Return the Load-System-Classes-First setting. Determines whether to load system classpath first or app server classpath.

Returns:
loadSystemClassesFirst setting

setContextRoot

public void setContextRoot(java.lang.String contextRoot)
Set the Context Root..

Parameters:
contextRoot - the new context root

setReload

public void setReload(java.lang.String reload)
Set the Reload setting to either true or false.

Parameters:
reload - new reload value

setCompile

public void setCompile(java.lang.String compile)
Set the Compile setting to either true or false.

Parameters:
compile - new compile value

setLoadSystemClassesFirst

public void setLoadSystemClassesFirst(java.lang.String loadSystemClassesFirst)
Set the LoadSystemClassesFirst setting to either true or false.

Parameters:
loadSystemClassesFirst - new setting

http://xdoclet.sourceforge.net/