public class TsmlNode extends TsmlBasicObject
| Modifier and Type | Field and Description |
|---|---|
protected TsmlNodeGraphics |
graphics
Graphics element.
|
protected java.lang.String |
id
Id attribute.
|
name, toolSpecificListlineNumber, tag| Constructor and Description |
|---|
TsmlNode(java.lang.String tag)
Creates a fresh PNML node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValidity(Tsml tsml)
Checks the validity of this node.
|
protected java.lang.String |
exportAttributes(Tsml tsml)
Exports all attributes.
|
protected java.lang.String |
exportElements(Tsml tsml)
Exports all child elements.
|
TsmlNodeGraphics |
getGraphics() |
protected void |
importAttributes(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
Imports all known attributes.
|
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
Checks whether the current start tag is known.
|
TsmlNode |
marshall(State state,
java.lang.String id,
org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
org.processmining.models.connections.GraphLayoutConnection layout) |
protected void |
unmarshall(State state,
org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
org.processmining.models.connections.GraphLayoutConnection layout) |
getName, marshall, unmarshall, unmarshallexportAttribute, exportElement, importElement, importTextprotected java.lang.String id
protected TsmlNodeGraphics graphics
public TsmlNode(java.lang.String tag)
tag - protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
importAttributes in class TsmlBasicObjectprotected java.lang.String exportAttributes(Tsml tsml)
exportAttributes in class TsmlBasicObjectprotected boolean importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
importElements in class TsmlBasicObjectprotected java.lang.String exportElements(Tsml tsml)
exportElements in class TsmlBasicObjectprotected void checkValidity(Tsml tsml)
checkValidity in class TsmlBasicObjectpublic TsmlNodeGraphics getGraphics()
protected void unmarshall(State state, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights, org.processmining.models.connections.GraphLayoutConnection layout)