public class TsmlBasicObject extends TsmlElement
Modifier and Type | Field and Description |
---|---|
protected TsmlName |
name
Name element.
|
protected java.util.List<TsmlToolSpecific> |
toolSpecificList
ToolSpecifics elements (there may be multiple).
|
lineNumber, tag
Constructor and Description |
---|
TsmlBasicObject(java.lang.String tag)
Creates a fresh basic PNML object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkValidity(Tsml tsml)
Checks validity.
|
protected java.lang.String |
exportAttributes(Tsml tsml)
Exports all attributes.
|
protected java.lang.String |
exportElements(Tsml tsml)
Exports all elements.
|
java.lang.String |
getName(java.lang.String defaultName) |
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.
|
TsmlBasicObject |
marshall(java.lang.String label,
int intWeight) |
protected void |
unmarshall(State state,
org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights) |
protected void |
unmarshall(Transition transition,
java.lang.Object sourceId,
java.lang.Object targetId,
org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights) |
exportAttribute, exportElement, importElement, importText
protected TsmlName name
protected java.util.List<TsmlToolSpecific> toolSpecificList
public TsmlBasicObject(java.lang.String tag)
tag
- public java.lang.String getName(java.lang.String defaultName)
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)
importElements
in class TsmlElement
protected java.lang.String exportElements(Tsml tsml)
exportElements
in class TsmlElement
protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)
importAttributes
in class TsmlElement
protected java.lang.String exportAttributes(Tsml tsml)
exportAttributes
in class TsmlElement
protected void checkValidity(Tsml tsml)
checkValidity
in class TsmlElement
protected void unmarshall(State state, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights)
protected void unmarshall(Transition transition, java.lang.Object sourceId, java.lang.Object targetId, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights)
public TsmlBasicObject marshall(java.lang.String label, int intWeight)