public class PnmlInscription extends PnmlAnnotation
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG
PNML inscription tag.
|
graphics, text, toolSpecificListfactory, lineNumber, tag| Modifier | Constructor and Description |
|---|---|
protected |
PnmlInscription()
Creates a fresh inscription.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValidity(Pnml pnml)
Default check for validity: No action.
|
PnmlInscription |
convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element) |
void |
convertToNet(Arc arc)
Sets the weight of the given arc in the given net to this inscription.
|
protected java.lang.String |
exportElements(Pnml pnml)
Exports the inscription.
|
int |
getInscription()
Gets the inscription.
|
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
Checks whether the current start tag is known.
|
convertToNet, convertToNetexportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText, setFactorypublic static final java.lang.String TAG
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
importElements in class PnmlAnnotationprotected void checkValidity(Pnml pnml)
PnmlElementcheckValidity in class PnmlElementprotected java.lang.String exportElements(Pnml pnml)
exportElements in class PnmlAnnotationpublic int getInscription()
public void convertToNet(Arc arc)
arc - The given arc.public PnmlInscription convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)
convertFromNet in class PnmlAnnotation