public class PlotGeneratorResult extends Result
Result that may be used to generate plots for different output formats using
GraphicsAdaptor sub-classes. Graphics are generated on demand.| Modifier and Type | Class and Description |
|---|---|
static interface |
PlotGeneratorResult.PlotGenerator
Interface for a class that may generate a plot using the specified
GraphicsAdaptor. |
comment, datatype, name| Constructor and Description |
|---|
PlotGeneratorResult(StringBuffer rep)
Creates a new
PlotGeneratorResult from its XML representation. |
PlotGeneratorResult(String name,
String comment,
PlotGeneratorResult.PlotGenerator gen,
boolean isStatic)
Creates a new
PlotGeneratorResult with the given name, comment, PlotGeneratorResult.PlotGenerator. |
| 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 buf)
This method can be used in the constructor with parameter
StringBuffer to
extract the further information. |
PlotGeneratorResult.PlotGenerator |
getValue()
Returns the value of the
AnnotatedEntity. |
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description.
|
boolean |
isStatic()
Returns
true if the plot is considered static and may be cached. |
checkDatatype, createResult, isCastableResult, isComparableResultgetComment, getDatatype, getName, toXMLpublic PlotGeneratorResult(String name, String comment, PlotGeneratorResult.PlotGenerator gen, boolean isStatic)
PlotGeneratorResult with the given name, comment, PlotGeneratorResult.PlotGenerator.name - the name of the resultcomment - a comment on the resultgen - the object that may generate the plotisStatic - if true, the plot is considered static and may be cached.public PlotGeneratorResult(StringBuffer rep) throws NonParsableException
PlotGeneratorResult from its XML representation.rep - the XML representationNonParsableException - if XML could not be parsedpublic String getXMLTag()
AnnotatedEntitygetXMLTag in class AnnotatedEntityprotected void appendFurtherInfos(StringBuffer buf)
AnnotatedEntityStorable.toXML() to extract
further information (name, comment, datatype).appendFurtherInfos in class AnnotatedEntitybuf - a XML representation of the main information as
StringBufferStorable.toXML()protected void extractFurtherInfos(StringBuffer buf) throws NonParsableException
AnnotatedEntityStringBuffer to
extract the further information.extractFurtherInfos in class AnnotatedEntitybuf - a XML represenation of the main information as
StringBufferNonParsableException - if the XML representation is not parsableAnnotatedEntity.AnnotatedEntity(StringBuffer)public PlotGeneratorResult.PlotGenerator getValue()
AnnotatedEntityAnnotatedEntity.getValue in class AnnotatedEntityAnnotatedEntitypublic boolean isStatic()
true if the plot is considered static and may be cached.