|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.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.results.Result |
---|
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 |
fromXML(StringBuffer representation)
This method is used in Result.Result(StringBuffer) to extract the
information. |
GalaxyAdaptor.FileResult |
getLink()
Returns the linked file |
StringBuffer |
toXML()
This method returns an XML representation as StringBuffer of an
instance of the implementing class. |
Methods inherited from class de.jstacs.results.ImageResult |
---|
getResult, toString |
Methods inherited from class de.jstacs.results.Result |
---|
appendMainInfo, checkDatatype, createResult, extractMainInfo, getComment, getDatatype, getName, isCastableResult, isComparableResult |
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 StringBuffer toXML()
Storable
StringBuffer
of an
instance of the implementing class.
toXML
in interface Storable
toXML
in class ImageResult
protected void fromXML(StringBuffer representation) throws NonParsableException
Result
Result.Result(StringBuffer)
to extract the
information. The method can be seen as opposite of
Storable.toXML()
and should not be made public.
fromXML
in class ImageResult
representation
- the XML represenation of the Result
to be parsed
NonParsableException
- if the XML representation is not parsableResult.extractMainInfo(StringBuffer)
public GalaxyAdaptor.FileResult getLink()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |