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, importTextprotected 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 TsmlElementprotected java.lang.String exportElements(Tsml tsml)
exportElements in class TsmlElementprotected void importAttributes(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
importAttributes in class TsmlElementprotected java.lang.String exportAttributes(Tsml tsml)
exportAttributes in class TsmlElementprotected void checkValidity(Tsml tsml)
checkValidity in class TsmlElementprotected 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)