public class TsmlAnnotation extends TsmlElement
| Modifier and Type | Field and Description |
|---|---|
protected TsmlAnnotationGraphics |
graphics
Graphics element.
|
TsmlText |
text
Text element.
|
protected java.util.List<TsmlToolSpecific> |
toolSpecificList
ToolSpecifics element.
|
lineNumber, tag| Constructor and Description |
|---|
TsmlAnnotation(java.lang.String tag)
Creates a fresh annotation object.
|
TsmlAnnotation(java.lang.String text,
java.lang.String tag) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
exportElements(Tsml tsml)
Exports all standard elements: None.
|
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
Checks whether the current start tag is known.
|
TsmlAnnotation |
marshall(org.processmining.models.graphbased.AbstractGraphElement element) |
void |
unmarshall(State state) |
void |
unmarshall(Transition transition) |
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importTextpublic TsmlText text
protected TsmlAnnotationGraphics graphics
protected java.util.List<TsmlToolSpecific> toolSpecificList
public TsmlAnnotation(java.lang.String tag)
tag - The tag for the annotation.public TsmlAnnotation(java.lang.String text,
java.lang.String tag)
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
importElements in class TsmlElementprotected java.lang.String exportElements(Tsml tsml)
TsmlElementexportElements in class TsmlElementpublic void unmarshall(State state)
public void unmarshall(Transition transition)
public TsmlAnnotation marshall(org.processmining.models.graphbased.AbstractGraphElement element)