xdoclet.modules.apache.struts
public class StrutsConfigXmlSubTask extends XmlSubTask
Version: $Revision: 1.12 $
UNKNOWN: September 2, 2001 display-name = "struts-config.xml" name = "strutsconfigxml" parent = "xdoclet.modules.web.WebDocletTask" ignore = "true" file = "struts-data-sources.xml" relates-to = "struts-config.xml" description = "An XML document * containing the optional data-sources element." file = "struts-forms.xml" relates-to = "struts-config.xml" description = "An XML unparsed entity * containing form-bean elements, for additional non-XDoclet forms." file = "global-exceptions.xml" relates-to = "struts-config.xml" description = "An XML document * containing the optional global-exceptions element." file = "global-forwards.xml" relates-to = "struts-config.xml" description = "An XML document * containing the optional global-forwards element." file = "struts-actions.xml" relates-to = "struts-config.xml" description = "An XML unparsed entity * containing action elements, for additional non-XDoclet actions." file = "actions.xml" relates-to = "struts-config.xml" description = "Deprecated (renamed to * struts-actions.xml). Still used, but only for backwards compatibility." file = "struts-controller.xml" relates-to = "struts-config.xml" description = "An XML document * containing the optional controller element." file = "struts-message-resources.xml" relates-to = "struts-config.xml" description = "An XML unparsed * entity containing any message-resources elements." file = "struts-plugins.xml" relates-to = "struts-config.xml" description = "An XML unparsed entity * containing any plug-in elements."
Nested Class Summary | |
---|---|
static class | StrutsConfigXmlSubTask.StrutsVersion |
Constructor Summary | |
---|---|
StrutsConfigXmlSubTask()
Describe what the StrutsConfigXmlSubTask constructor does |
Method Summary | |
---|---|
void | execute()
Generate struts-config.xml
|
String | getController() |
String | getVersion()
Gets the Version attribute of the StrutsConfigXmlSubTask object
|
void | setController(String controller)
Sets fully qualified class to use when instantiating ActionMapping objects.
|
void | setVersion(StrutsConfigXmlSubTask.StrutsVersion version)
Sets the struts version to use. |
Throws: XDocletException
Returns: The Version value
Parameters: controller
Parameters: version
UNKNOWN: "No. Default is '1.0'".