public class TsmlInscription extends TsmlAnnotation
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG
PNML inscription tag.
|
graphics, text, toolSpecificListlineNumber, tag| Constructor and Description |
|---|
TsmlInscription()
Creates a fresh inscription.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValidity(Tsml tsml)
Default check for validity: No action.
|
protected java.lang.String |
exportElements(Tsml tsml)
Exports the inscription.
|
int |
getInscription()
Gets the inscription.
|
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
Checks whether the current start tag is known.
|
TsmlInscription |
marshall(org.processmining.models.graphbased.AbstractGraphElement element) |
void |
unmarshall(Transition transition)
Sets the weight of the given arc in the given net to this inscription.
|
unmarshallexportAttribute, exportAttributes, exportElement, importAttributes, importElement, importTextpublic static final java.lang.String TAG
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
importElements in class TsmlAnnotationprotected void checkValidity(Tsml tsml)
TsmlElementcheckValidity in class TsmlElementprotected java.lang.String exportElements(Tsml tsml)
exportElements in class TsmlAnnotationpublic int getInscription()
public void unmarshall(Transition transition)
unmarshall in class TsmlAnnotationarc - The given arc.public TsmlInscription marshall(org.processmining.models.graphbased.AbstractGraphElement element)
marshall in class TsmlAnnotation