|
||||||||||
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.DataSetResult
public class DataSetResult
Result
that contains a DataSet
. This DataSet
e.g. may
have been created by StatisticalModel.emitDataSet(int, int...)
,
or maybe a DataSet
that has been annotated in a classification.
Field Summary |
---|
Fields inherited from class de.jstacs.AnnotatedEntity |
---|
comment, datatype, name |
Constructor Summary | |
---|---|
DataSetResult(StringBuffer source)
The standard constructor for the interface Storable . |
|
DataSetResult(String name,
String comment,
DataSet data)
Creates a new DataSetResult from a DataSet with the
annotation name and comment . |
Method Summary | |
---|---|
protected void |
appendFurtherInfos(StringBuffer buf)
This method can be used in the method Storable.toXML() to extract
further information (name, comment, datatype). |
protected void |
extractFurtherInfos(StringBuffer rep)
This method can be used in the constructor with parameter StringBuffer to
extract the further information. |
SequenceAnnotationParser |
getParser()
Returns the SequenceAnnotationParser that can be used to
write this DataSetResult including annotations on the contained Sequence s
to a file. |
DataSet |
getValue()
Returns the value of the AnnotatedEntity . |
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description. |
void |
setParser(SequenceAnnotationParser parser)
Sets the SequenceAnnotationParser that can be used to
write this DataSetResult including annotations on the contained Sequence s
to a file |
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, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSetResult(String name, String comment, DataSet data)
DataSetResult
from a DataSet
with the
annotation name
and comment
.
name
- the name of the Result
comment
- the comment on the Result
data
- the DataSet
that is the result of some computationpublic DataSetResult(StringBuffer source) throws NonParsableException
Storable
.
Recreates a DataSetResult
from its XML representation as returned
by AnnotatedEntity.toXML()
.
source
- the XML representation as StringBuffer
NonParsableException
- if the XML code could not be parsedMethod Detail |
---|
protected void extractFurtherInfos(StringBuffer rep) throws NonParsableException
AnnotatedEntity
StringBuffer
to
extract the further information.
extractFurtherInfos
in class AnnotatedEntity
rep
- a XML represenation of the main information as
StringBuffer
NonParsableException
- if the XML representation is not parsableAnnotatedEntity.AnnotatedEntity(StringBuffer)
public DataSet getValue()
AnnotatedEntity
AnnotatedEntity
.
getValue
in class AnnotatedEntity
AnnotatedEntity
protected void appendFurtherInfos(StringBuffer buf)
AnnotatedEntity
Storable.toXML()
to extract
further information (name, comment, datatype).
appendFurtherInfos
in class AnnotatedEntity
buf
- a XML representation of the main information as
StringBuffer
Storable.toXML()
public String getXMLTag()
AnnotatedEntity
getXMLTag
in class AnnotatedEntity
public SequenceAnnotationParser getParser()
SequenceAnnotationParser
that can be used to
write this DataSetResult
including annotations on the contained Sequence
s
to a file.
SequenceAnnotationParser
public void setParser(SequenceAnnotationParser parser)
SequenceAnnotationParser
that can be used to
write this DataSetResult
including annotations on the contained Sequence
s
to a file
parser
- the new SequenceAnnotationParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |