|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.scufl.SemanticMarkup
org.embl.ebi.escience.scufl.PortSemanticMarkup
public class PortSemanticMarkup
A SemanticMarkup for Ports that fires ScuflModelEvents when markup elements are changed.
| Constructor Summary | |
|---|---|
PortSemanticMarkup(java.lang.Object subject)
Create a new item of semantic markup for the Port specified. |
|
PortSemanticMarkup(PortSemanticMarkup other)
|
|
| Method Summary | |
|---|---|
void |
addMIMEType(java.lang.String mimeType)
Add a MIME type |
void |
clearMIMETypes()
Clear the array of MIME types |
void |
configureFromElement(org.jdom.Element theElement)
Configure this markup object from the supplied XML element. |
void |
setDescription(java.lang.String theDescription)
Set the free text description |
void |
setMIMETypes(java.util.List mimeTypes)
|
void |
setSemanticType(java.lang.String newSemanticType)
Set the semantic markup as a string, not the best way to do things but will have to do for now |
| Methods inherited from class org.embl.ebi.escience.scufl.SemanticMarkup |
|---|
getConfigurationElement, getConfigurationElement, getDescription, getDisplayTypeList, getFirstMIMEType, getMIMETypeList, getMIMETypes, getSemanticType, getSubject, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PortSemanticMarkup(java.lang.Object subject)
public PortSemanticMarkup(PortSemanticMarkup other)
| Method Detail |
|---|
public void setDescription(java.lang.String theDescription)
setDescription in class SemanticMarkuppublic void clearMIMETypes()
clearMIMETypes in class SemanticMarkuppublic void addMIMEType(java.lang.String mimeType)
addMIMEType in class SemanticMarkuppublic void setMIMETypes(java.util.List mimeTypes)
setMIMETypes in class SemanticMarkuppublic void setSemanticType(java.lang.String newSemanticType)
setSemanticType in class SemanticMarkuppublic void configureFromElement(org.jdom.Element theElement)
configureFromElement in class SemanticMarkup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||