de.cau.cs.kieler.synccharts.text.kits.formatting
Class KitsEObjectConsumer
java.lang.Object
org.eclipse.xtext.parsetree.reconstr.impl.EObjectConsumer
de.cau.cs.kieler.synccharts.text.kits.formatting.KitsEObjectConsumer
- All Implemented Interfaces:
- org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer
public class KitsEObjectConsumer
- extends org.eclipse.xtext.parsetree.reconstr.impl.EObjectConsumer
Special IEObjectConsumer
with customized behavior.
Allows serialization of uninitialized labels (-> "").
- Rating

Constructor Summary |
KitsEObjectConsumer(org.eclipse.xtext.parsetree.reconstr.ITransientValueService transientValueService,
EObject described)
|
Method Summary |
Object |
getConsumable(String featureName,
boolean allowDefault)
Customized version of EObjectConsumer.getConsumable(String, boolean) . |
Methods inherited from class org.eclipse.xtext.parsetree.reconstr.impl.EObjectConsumer |
cloneAndConsume, getEObject, getUnconsumed, isConsumable, isConsumed, isConsumedWithLastConsumtion, isInstanceOf, toString |
KitsEObjectConsumer
public KitsEObjectConsumer(org.eclipse.xtext.parsetree.reconstr.ITransientValueService transientValueService,
EObject described)
getConsumable
public Object getConsumable(String featureName,
boolean allowDefault)
- Customized version of
EObjectConsumer.getConsumable(String, boolean)
.
Delegates to super method first.
In case the null value is returned and a scope's label is processed return something
unequal to null, which will lead to further investigation about serializing this value!
Here, the empty String is returned as this is the intended value to be dumped out, finally.
- Specified by:
getConsumable
in interface org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer
- Overrides:
getConsumable
in class org.eclipse.xtext.parsetree.reconstr.impl.EObjectConsumer