public class TsmlNode extends TsmlBasicObject
Modifier and Type | Field and Description |
---|---|
protected TsmlNodeGraphics |
graphics
Graphics element.
|
protected java.lang.String |
id
Id attribute.
|
name, toolSpecificList
lineNumber, 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, unmarshall
exportAttribute, exportElement, importElement, importText
protected 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 TsmlBasicObject
protected java.lang.String exportAttributes(Tsml tsml)
exportAttributes
in class TsmlBasicObject
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)
importElements
in class TsmlBasicObject
protected java.lang.String exportElements(Tsml tsml)
exportElements
in class TsmlBasicObject
protected void checkValidity(Tsml tsml)
checkValidity
in class TsmlBasicObject
public TsmlNodeGraphics getGraphics()
protected void unmarshall(State state, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights, org.processmining.models.connections.GraphLayoutConnection layout)