This task command is used to process request properties for URL commands.
If the request properties contain 'XML' parameter, it assumes that the URL command is called in tools framework; otherwise it assumes the URL command is directly called from URL. If called from tools framework, the command will process the request properties to convert the xml file to name-value pair stored in TypedProperty. The task command also generates a response properties, set 'viewTaskName' property to 'RedirectView'. If called from tools framework, it also put 'XMLFile' and 'redirectURL' properties. Inputs of this task command are:
setRequestProperties(TypedProperty) - sets request properties need to be processed. setCheckURL(boolean) - sets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0. default is true.
Field Summary | |
static java.lang.String | COPYRIGHT IBM Copyright notice field. |
static java.lang.String | defaultCommandClassName The default implementation of this command. |
static java.lang.String | NAME The name of this command. |
Method Summary | |
boolean | getCheckURL() Gets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0. |
TypedProperty | getRequestProperties() Gets the request properties processed. |
TypedProperty | getResponseProperties() Gets the response properties generated. |
java.lang.String | getXMLFile() Gets the value of the parameter 'XMLFile' in the request properties. |
boolean | isToolsFramework() Gets a boolean value indicating if the URL command is called from tools framework. |
void | setCheckURL(boolean abCheckURL) Sets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0. |
void | setRequestProperties(TypedProperty aRequestProperties) sets the request properties need to be processed. |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
public boolean getCheckURL()
public TypedProperty getRequestProperties()
public TypedProperty getResponseProperties()
public java.lang.String getXMLFile()
public boolean isToolsFramework()
public void setCheckURL(boolean abCheckURL)
public void setRequestProperties(TypedProperty aRequestProperties)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.