public abstract class PnmlAnnotation extends PnmlElement
Modifier and Type | Field and Description |
---|---|
protected PnmlAnnotationGraphics |
graphics
Graphics element.
|
PnmlText |
text
Text element.
|
protected java.util.List<PnmlToolSpecific> |
toolSpecificList
ToolSpecifics element.
|
factory, lineNumber, tag
Modifier | Constructor and Description |
---|---|
protected |
PnmlAnnotation(java.lang.String tag)
Creates a fresh annotation object.
|
protected |
PnmlAnnotation(java.lang.String text,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
PnmlAnnotation |
convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element) |
void |
convertToNet(PetrinetEdge<? extends PetrinetNode,? extends PetrinetNode> edge) |
void |
convertToNet(PetrinetNode node) |
protected java.lang.String |
exportElements(Pnml pnml)
Exports all standard elements: None.
|
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
Checks whether the current start tag is known.
|
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText, setFactory
public PnmlText text
protected PnmlAnnotationGraphics graphics
protected java.util.List<PnmlToolSpecific> toolSpecificList
protected PnmlAnnotation(java.lang.String tag)
tag
- The tag for the annotation.protected PnmlAnnotation(java.lang.String text, java.lang.String tag)
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)
importElements
in class PnmlElement
protected java.lang.String exportElements(Pnml pnml)
PnmlElement
exportElements
in class PnmlElement
public void convertToNet(PetrinetNode node)
public void convertToNet(PetrinetEdge<? extends PetrinetNode,? extends PetrinetNode> edge)
public PnmlAnnotation convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)