gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaComponentPropertyValue
java.lang.Object
gov.sandia.ccaffeine.dc.user_iface.MVC.CcaComponentPropertyValue
public class CcaComponentPropertyValue
- extends java.lang.Object
This class holds the name and the value
of one component property.
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
componentInstanceName
public java.lang.String componentInstanceName
propertyName
public java.lang.String propertyName
propertyValue
public java.lang.String propertyValue
CcaComponentPropertyValue
public CcaComponentPropertyValue(java.lang.String xml)
- Parse the xml contents of a component property.
The parsed values are copied into the class's attributes.
The XML code will contains something like this:
<componentIntanceName>
name1
</componentInstanceName>
<propertyName>name2</propertyName>
<propertyValue>value2</propertyValue>
- Parameters:
xmlComponent
- The xml code of one component.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object