public static class GalaxyAdaptor.LinkedImageResult extends ImageResult
ImageResult
that is linked to a file that can be downloaded.comment, datatype, name
Constructor and Description |
---|
LinkedImageResult(StringBuffer xml)
Creates a new
GalaxyAdaptor.LinkedImageResult from its XML-representation |
LinkedImageResult(String name,
String comment,
BufferedImage image,
GalaxyAdaptor.FileResult link)
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendFurtherInfos(StringBuffer sb)
This method can be used in the method
Storable.toXML() to extract
further information (name, comment, datatype). |
protected void |
extractFurtherInfos(StringBuffer representation)
This method can be used in the constructor with parameter
StringBuffer to
extract the further information. |
GalaxyAdaptor.FileResult |
getLink()
Returns the linked file
|
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description.
|
getValue, toString
checkDatatype, createResult, getOriginalName, isCastableResult, isComparableResult, rename
getComment, getDatatype, getName, toXML
public LinkedImageResult(String name, String comment, BufferedImage image, GalaxyAdaptor.FileResult link)
name
- the name of the resultcomment
- the comment for the resultimage
- the imagelink
- the linked filepublic LinkedImageResult(StringBuffer xml) throws NonParsableException
GalaxyAdaptor.LinkedImageResult
from its XML-representationxml
- the representationNonParsableException
- if xml could not be parsedpublic String getXMLTag()
AnnotatedEntity
getXMLTag
in class ImageResult
protected void appendFurtherInfos(StringBuffer sb)
AnnotatedEntity
Storable.toXML()
to extract
further information (name, comment, datatype).appendFurtherInfos
in class ImageResult
sb
- a XML representation of the main information as
StringBuffer
Storable.toXML()
protected void extractFurtherInfos(StringBuffer representation) throws NonParsableException
AnnotatedEntity
StringBuffer
to
extract the further information.extractFurtherInfos
in class ImageResult
representation
- a XML represenation of the main information as
StringBuffer
NonParsableException
- if the XML representation is not parsableAnnotatedEntity.AnnotatedEntity(StringBuffer)
public GalaxyAdaptor.FileResult getLink()