com.esri.adf.web.data.tasks
Class XMLSimpleTaskInfo

java.lang.Object
  extended by com.esri.adf.web.data.tasks.XMLSimpleTaskInfo
All Implemented Interfaces:
TaskInfo, XMLTaskInfo, Serializable

public class XMLSimpleTaskInfo
extends Object
implements XMLTaskInfo

See Also:
Serialized Form

Constructor Summary
XMLSimpleTaskInfo()
           
 
Method Summary
 void fromXML(Reader reader)
           
 TaskActionDescriptorModel[] getActionDescriptors()
          Returns an array of TaskActionDescriptorModel objects for the actions in your task.
 TaskParamDescriptorModel[] getParamDescriptors()
          Returns an array of TaskParamDescriptorModel objects for the parameters of your task.
 TaskDescriptor getTaskDescriptor()
          Returns the TaskDescriptor object for your task.
 TaskLayout[] getTaskLayout()
          Returns the TaskLayout object for this task.
 TaskToolDescriptorModel[] getToolDescriptors()
           Returns an array of TaskToolDescriptorModel objects for the tools in your task.
 void toXML(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSimpleTaskInfo

public XMLSimpleTaskInfo()
Method Detail

getTaskDescriptor

public TaskDescriptor getTaskDescriptor()
Description copied from interface: TaskInfo
Returns the TaskDescriptor object for your task. The TaskDescriptor provides information about the task such as its class, visibility and title text.

Specified by:
getTaskDescriptor in interface TaskInfo
Returns:
the TaskDescriptor object for your task

getParamDescriptors

public TaskParamDescriptorModel[] getParamDescriptors()
Description copied from interface: TaskInfo
Returns an array of TaskParamDescriptorModel objects for the parameters of your task. The param descriptors provide information about the parameter such as its name, type, renderer, etc.

Specified by:
getParamDescriptors in interface TaskInfo
Returns:
an array of TaskParamDescriptorModel objects for the parameters of your task

getToolDescriptors

public TaskToolDescriptorModel[] getToolDescriptors()
Description copied from interface: TaskInfo

Returns an array of TaskToolDescriptorModel objects for the tools in your task. The action descriptors provide information about the action such as its name, method, client-side action, icons, etc.

Note that if your task contains tools, you must minimally override this method.

Specified by:
getToolDescriptors in interface TaskInfo
Returns:
an array of TaskToolDescriptorModel objects for the tools in your task

getActionDescriptors

public TaskActionDescriptorModel[] getActionDescriptors()
Description copied from interface: TaskInfo
Returns an array of TaskActionDescriptorModel objects for the actions in your task. The action descriptors provide information about the action such as its name, method, icons, etc.

Specified by:
getActionDescriptors in interface TaskInfo
Returns:
an array of TaskActionDescriptorModel objects for the actions in your task

getTaskLayout

public TaskLayout[] getTaskLayout()
Description copied from interface: TaskInfo
Returns the TaskLayout object for this task. The TaskLayout defines an interface to lay out the components contained in the task.

Specified by:
getTaskLayout in interface TaskInfo
Returns:
the TaskLayout object for this task

fromXML

public void fromXML(Reader reader)
Specified by:
fromXML in interface XMLTaskInfo

toXML

public void toXML(Writer writer)
Specified by:
toXML in interface XMLTaskInfo