public class TsmlInscription extends TsmlAnnotation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
PNML inscription tag.
|
graphics, text, toolSpecificList
lineNumber, 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.
|
unmarshall
exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText
public static final java.lang.String TAG
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)
importElements
in class TsmlAnnotation
protected void checkValidity(Tsml tsml)
TsmlElement
checkValidity
in class TsmlElement
protected java.lang.String exportElements(Tsml tsml)
exportElements
in class TsmlAnnotation
public int getInscription()
public void unmarshall(Transition transition)
unmarshall
in class TsmlAnnotation
arc
- The given arc.public TsmlInscription marshall(org.processmining.models.graphbased.AbstractGraphElement element)
marshall
in class TsmlAnnotation