comment, datatype, name
Constructor and Description |
---|
DataSetResult(StringBuffer source)
The standard constructor for the interface
Storable . |
DataSetResult(String name,
String comment,
DataSet data)
|
Modifier and Type | Method and Description |
---|---|
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 |
checkDatatype, createResult, getOriginalName, isCastableResult, isComparableResult, rename
getComment, getDatatype, getName, toXML
public 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 parsedprotected void extractFurtherInfos(StringBuffer rep) throws NonParsableException
AnnotatedEntity
StringBuffer
to
extract the further information.extractFurtherInfos
in class Result
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 Result
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 fileparser
- the new SequenceAnnotationParser