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

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

public class CcaPort
extends java.lang.Object


Field Summary
 java.lang.String className
           
 java.lang.String instanceName
           
 
Constructor Summary
CcaPort(java.lang.String xmlPort)
          Parse the xml contents of a port.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

public java.lang.String className

instanceName

public java.lang.String instanceName
Constructor Detail

CcaPort

public CcaPort(java.lang.String xmlPort)
Parse the xml contents of a port. The parsed values are copied into the class's attributes.

The XML code will contains something like this:
  <port>
   <instanceName>x1</instanceName>
   <className>x2</className>
  </port>

Parameters:
xmlPort - the XML code that contains one port