gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaConnectionsBetweenTwoPorts

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.MVC.CcaConnectionsBetweenTwoPorts

public class CcaConnectionsBetweenTwoPorts
extends java.lang.Object


Field Summary
 CcaConnectionBetweenTwoPorts[] ccaConnections
           
 
Constructor Summary
CcaConnectionsBetweenTwoPorts(java.lang.String xmlConnections)
          Parse the xml contents of a component.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ccaConnections

public CcaConnectionBetweenTwoPorts[] ccaConnections
Constructor Detail

CcaConnectionsBetweenTwoPorts

public CcaConnectionsBetweenTwoPorts(java.lang.String xmlConnections)
Parse the xml contents of a component. The parsed values are copied into the class's attributes.

The XML code will contains something like this:
 <connection>
  <providesServiceComponentName>
   providerComponentName
 &ngsp;</providesServiceComponentName>
  <providesServicePortName>
   providerPortName
 &ngsp;</providesServicePortName>
  <usesServiceComponentName>
   userComponentName
 &ngsp;</usesServiceComponentName>
  <usesServicePortName>
   userPortName
 &ngsp;</usesServicePortName>
 </connection>
 <connection>
  <providesServiceComponentName>
   providerComponentName
 &ngsp;</providesServiceComponentName>
  <providesServicePortName>
   providerPortName
 &ngsp;</providesServicePortName>
  <usesServiceComponentName>
   userComponentName
 &ngsp;</usesServiceComponentName>
  <usesServicePortName>
   userPortName
 &ngsp;</usesServicePortName>
 </connection>