|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.AnnotatedEntity
de.jstacs.results.Result
de.jstacs.results.ImageResult
de.jstacs.utils.galaxy.GalaxyAdaptor.LinkedImageResult
public static class GalaxyAdaptor.LinkedImageResult
Class for an ImageResult
that is linked to a file that can be downloaded.
Field Summary |
---|
Fields inherited from class de.jstacs.AnnotatedEntity |
---|
comment, datatype, name |
Constructor Summary | |
---|---|
GalaxyAdaptor.LinkedImageResult(StringBuffer xml)
Creates a new GalaxyAdaptor.LinkedImageResult from its XML-representation |
|
GalaxyAdaptor.LinkedImageResult(String name,
String comment,
BufferedImage image,
GalaxyAdaptor.FileResult link)
Create a new ImageResult with linked GalaxyAdaptor.FileResult link |
Method Summary | |
---|---|
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. |
Methods inherited from class de.jstacs.results.ImageResult |
---|
getValue, toString |
Methods inherited from class de.jstacs.results.Result |
---|
checkDatatype, createResult, isCastableResult, isComparableResult |
Methods inherited from class de.jstacs.AnnotatedEntity |
---|
getComment, getDatatype, getName, toXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GalaxyAdaptor.LinkedImageResult(String name, String comment, BufferedImage image, GalaxyAdaptor.FileResult link)
ImageResult
with linked GalaxyAdaptor.FileResult
link
name
- the name of the resultcomment
- the comment for the resultimage
- the imagelink
- the linked filepublic GalaxyAdaptor.LinkedImageResult(StringBuffer xml) throws NonParsableException
GalaxyAdaptor.LinkedImageResult
from its XML-representation
xml
- the representation
NonParsableException
- if xml could not be parsedMethod Detail |
---|
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |