|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.integration.XmlPersistableRun
Converts run data to XML presentation format. Complexity, fitness, and speciation are
represented with the same XML structure, different stylesheets. A new
XmlPersistableRun
object should be created new for each use, because it caches
the XML it produces, and does not automatically detect changes to the underlying
Run
object.
Field Summary | |
static java.lang.String |
PARAMETER_TAG
XML parameter tag |
static java.lang.String |
PARAMETERS_TAG
XML parameters tag |
static java.lang.String |
RUN_TAG
base XML tag |
Constructor Summary | |
XmlPersistableRun(Run aRun)
ctor; must call init() before using this object |
Method Summary | |
protected void |
appendToString(boolean includeDtd,
java.lang.StringBuffer result)
|
java.lang.String |
getName()
|
java.lang.String |
getXmld()
|
java.lang.String |
getXmlRootTag()
|
java.lang.String |
toComplexityString(boolean isRunCompleted)
|
java.lang.String |
toFitnessString(boolean isRunCompleted)
|
java.lang.String |
toSpeciesString(boolean isRunCompleted)
|
java.lang.String |
toString()
|
java.lang.String |
toXml()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RUN_TAG
public static final java.lang.String PARAMETERS_TAG
public static final java.lang.String PARAMETER_TAG
Constructor Detail |
public XmlPersistableRun(Run aRun)
init()
before using this object
aRun
- Method Detail |
protected void appendToString(boolean includeDtd, java.lang.StringBuffer result)
includeDtd
- include DTD tag if trueresult
- representation of runpublic java.lang.String toComplexityString(boolean isRunCompleted)
isRunCompleted
- true
iff this is the last call to
public java.lang.String toFitnessString(boolean isRunCompleted)
isRunCompleted
- true
iff this is the last call to
public java.lang.String toSpeciesString(boolean isRunCompleted)
isRunCompleted
- true
iff this is the last call to
public java.lang.String toString()
Object.toString()
public java.lang.String toXml()
toXml
in interface XmlPersistable
XmlPersistable.toXml()
public java.lang.String getXmlRootTag()
getXmlRootTag
in interface XmlPersistable
XmlPersistable.getXmlRootTag()
public java.lang.String getXmld()
getXmld
in interface XmlPersistable
XmlPersistable.getXmld()
public java.lang.String getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |