Class ServiceSelectionPanel

java.lang.Object
  |
  +--ServiceSelectionPanel

public class ServiceSelectionPanel
extends java.lang.Object

This class is the panel for selecting services for different activities


Constructor Summary
ServiceSelectionPanel()
           
 
Method Summary
 java.util.HashMap constructSemanticSpecMap(java.lang.String semanticSpecName)
          Constructs the HashMap with semantic details to search UDDI based on the semantics specs
 void constructServicesPanel()
          used for testing purposes
 java.lang.String getTmodelKey(java.lang.String keyString)
          Gets the tModel key mentioned in the element in the process template
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.
 org.w3c.dom.Document readXMLToDOM(java.lang.String fileName)
          This method reads an XML file as a Document Object
 void removeAll()
          Removes the contents of the panel
 void setLayout()
          Sets the layout of the panel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceSelectionPanel

public ServiceSelectionPanel()
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

constructSemanticSpecMap

public java.util.HashMap constructSemanticSpecMap(java.lang.String semanticSpecName)
Constructs the HashMap with semantic details to search UDDI based on the semantics specs


getTmodelKey

public java.lang.String getTmodelKey(java.lang.String keyString)
Gets the tModel key mentioned in the element in the process template


setLayout

public void setLayout()
Sets the layout of the panel


removeAll

public void removeAll()
Removes the contents of the panel


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

constructServicesPanel

public void constructServicesPanel()
used for testing purposes