|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.biomage.Common.NameValueType
A tuple designed to store data, keyed by a name and type.
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
HasPropertySets.PropertySets_list |
| Field Summary | |
protected HasPropertySets.PropertySets_list |
propertySets
Allows nested specification of name/value pairs |
| Constructor Summary | |
NameValueType()
Default constructor. |
|
NameValueType(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
void |
addToPropertySets(int position,
NameValueType nameValueType)
Method to add NameValueType at position to PropertySets_list |
void |
addToPropertySets(NameValueType nameValueType)
Method to add NameValueType to PropertySets_list |
NameValueType |
getFromPropertySets(int position)
Method to get NameValueType from PropertySets_list |
java.lang.String |
getName()
Get method for name |
HasPropertySets.PropertySets_list |
getPropertySets()
Get method for propertySets |
java.lang.String |
getType()
Get method for type |
java.lang.String |
getValue()
Get method for value |
void |
removeElementAtFromPropertySets(int position)
Method to remove by position from PropertySets_list |
void |
removeFromPropertySets(NameValueType nameValueType)
Method to remove first NameValueType from PropertySets_list |
void |
setName(java.lang.String name)
Set method for name |
void |
setPropertySets(HasPropertySets.PropertySets_list propertySets)
Set method for propertySets |
void |
setType(java.lang.String type)
Set method for type |
void |
setValue(java.lang.String value)
Set method for value |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected HasPropertySets.PropertySets_list propertySets
| Constructor Detail |
public NameValueType()
public NameValueType(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
java.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
java.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
java.io.IOExceptionpublic void setName(java.lang.String name)
public java.lang.String getName()
public void setValue(java.lang.String value)
value - to setpublic java.lang.String getValue()
public void setType(java.lang.String type)
public java.lang.String getType()
public void setPropertySets(HasPropertySets.PropertySets_list propertySets)
setPropertySets in interface HasPropertySetspublic HasPropertySets.PropertySets_list getPropertySets()
getPropertySets in interface HasPropertySetspublic void addToPropertySets(NameValueType nameValueType)
addToPropertySets in interface HasPropertySets
public void addToPropertySets(int position,
NameValueType nameValueType)
addToPropertySets in interface HasPropertySetspublic NameValueType getFromPropertySets(int position)
getFromPropertySets in interface HasPropertySetspublic void removeElementAtFromPropertySets(int position)
removeElementAtFromPropertySets in interface HasPropertySetspublic void removeFromPropertySets(NameValueType nameValueType)
removeFromPropertySets in interface HasPropertySets
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||