Package org.processmining.plugins.tsml
Class TsmlAnnotation
- java.lang.Object
-
- org.processmining.plugins.tsml.TsmlElement
-
- org.processmining.plugins.tsml.TsmlAnnotation
-
- Direct Known Subclasses:
TsmlInscription,TsmlName
public class TsmlAnnotation extends TsmlElement
-
-
Field Summary
Fields Modifier and Type Field Description protected TsmlAnnotationGraphicsgraphicsGraphics element.TsmlTexttextText element.protected java.util.List<TsmlToolSpecific>toolSpecificListToolSpecifics element.-
Fields inherited from class org.processmining.plugins.tsml.TsmlElement
lineNumber, tag
-
-
Constructor Summary
Constructors Constructor Description TsmlAnnotation(java.lang.String tag)Creates a fresh annotation object.TsmlAnnotation(java.lang.String text, java.lang.String tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringexportElements(Tsml tsml)Exports all standard elements: None.protected booleanimportElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Checks whether the current start tag is known.TsmlAnnotationmarshall(org.processmining.models.graphbased.AbstractGraphElement element)voidunmarshall(State state)voidunmarshall(Transition transition)-
Methods inherited from class org.processmining.plugins.tsml.TsmlElement
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText
-
-
-
-
Field Detail
-
text
public TsmlText text
Text element.
-
graphics
protected TsmlAnnotationGraphics graphics
Graphics element.
-
toolSpecificList
protected java.util.List<TsmlToolSpecific> toolSpecificList
ToolSpecifics element.
-
-
Method Detail
-
importElements
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Checks whether the current start tag is known. If known, it imports the corresponding child element and returns true. Otherwise, it returns false.- Overrides:
importElementsin classTsmlElement- Returns:
- Whether the start tag was known.
-
exportElements
protected java.lang.String exportElements(Tsml tsml)
Description copied from class:TsmlElementExports all standard elements: None. If some subclass has child elements, this method needs to be overruled by it.- Overrides:
exportElementsin classTsmlElement- Returns:
-
unmarshall
public void unmarshall(State state)
-
unmarshall
public void unmarshall(Transition transition)
-
marshall
public TsmlAnnotation marshall(org.processmining.models.graphbased.AbstractGraphElement element)
-
-