Class VariableAssignmentPanel

java.lang.Object
  |
  +--VariableAssignmentPanel

public class VariableAssignmentPanel
extends java.lang.Object

This class is the panel for Assigning values to protocol variables in the process


Constructor Summary
VariableAssignmentPanel()
           
 
Method Summary
 java.lang.String getOperationName(java.lang.String activityName)
          Gets the Operation Name of the specified activity
 java.lang.String getWSDL_URL(java.lang.String activityName)
          Gets the WSDL URL of the specified activity
static void main(java.lang.String[] args)
          main: Used only for Testing
 void makeContentPane()
          This method constructs the content pane of the service selection panel
 org.w3c.dom.Document parseXmlFile(java.lang.String filename, boolean validating)
          Parses an XML file and returns a DOM document.
 void readAssignmentMap(java.lang.String fileName)
          Reads the given HashMap to the specified file
 org.w3c.dom.Document readXMLToDOM(java.lang.String fileName)
          This method reads an XML file as a Document Object
 void removeAll()
          Removes all contents from the panel
 void setLayout()
          Sets the layout for this panel
 void writeAssignmentMap(java.util.HashMap assignmentMap, java.lang.String fileName)
          Writes the given HashMap to the specified file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableAssignmentPanel

public VariableAssignmentPanel()
Method Detail

main

public static void main(java.lang.String[] args)
main: Used only for Testing


makeContentPane

public void makeContentPane()
This method constructs the content pane of the service selection panel

Returns:
Container Container with all the contents for the panel

setLayout

public void setLayout()
Sets the layout for this panel


removeAll

public void removeAll()
Removes all contents from the panel


getWSDL_URL

public java.lang.String getWSDL_URL(java.lang.String activityName)
Gets the WSDL URL of the specified activity


getOperationName

public java.lang.String getOperationName(java.lang.String activityName)
Gets the Operation Name of the specified activity


readXMLToDOM

public org.w3c.dom.Document readXMLToDOM(java.lang.String fileName)
This method reads an XML file as a Document Object

Returns:
Document Object that is read from the file

parseXmlFile

public org.w3c.dom.Document parseXmlFile(java.lang.String filename,
                                         boolean validating)
Parses an XML file and returns a DOM document.

Returns:
Document Object that is read from the file

writeAssignmentMap

public void writeAssignmentMap(java.util.HashMap assignmentMap,
                               java.lang.String fileName)
Writes the given HashMap to the specified file


readAssignmentMap

public void readAssignmentMap(java.lang.String fileName)
Reads the given HashMap to the specified file