de.cau.cs.kieler.synccharts.text.actions
Class ActionsValueSerializer

java.lang.Object
  extended by org.eclipse.xtext.parsetree.reconstr.impl.ValueSerializer
      extended by de.cau.cs.kieler.synccharts.text.actions.ActionsValueSerializer
All Implemented Interfaces:
org.eclipse.xtext.parsetree.reconstr.ITokenSerializer, org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IValueSerializer

public class ActionsValueSerializer
extends org.eclipse.xtext.parsetree.reconstr.impl.ValueSerializer

Class is currently NOT used.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.parsetree.reconstr.ITokenSerializer
org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.ICrossReferenceSerializer, org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IEnumLiteralSerializer, org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IErrorAcceptor, org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IKeywordSerializer, org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IValueSerializer
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.parsetree.reconstr.ITokenSerializer
KEEP_VALUE_FROM_NODE_MODEL
 
Constructor Summary
ActionsValueSerializer()
           
 
Method Summary
 boolean isValid(EObject context, org.eclipse.xtext.RuleCall ruleCall, Object value, org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IErrorAcceptor errorAcceptor)
           
 String serializeAssignedValue(EObject context, org.eclipse.xtext.RuleCall ruleCall, Object value, org.eclipse.xtext.nodemodel.INode node)
          Customized Computation of serialized output fragments.
 String serializeUnassignedValue(EObject context, org.eclipse.xtext.RuleCall ruleCall, org.eclipse.xtext.nodemodel.INode node)
           
 
Methods inherited from class org.eclipse.xtext.parsetree.reconstr.impl.ValueSerializer
equalsOrReplacesNode, equalsOrReplacesNode, serialize, serializeUnassignedValueByRule, serializeUnassignedValueByRuleCall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsValueSerializer

public ActionsValueSerializer()
Method Detail

serializeAssignedValue

public String serializeAssignedValue(EObject context,
                                     org.eclipse.xtext.RuleCall ruleCall,
                                     Object value,
                                     org.eclipse.xtext.nodemodel.INode node)
Customized Computation of serialized output fragments. In particular this is to suppress the explicit '1' of the action's delay attribute. Method is currently not used, behavior will be realized by the transient value service.

Specified by:
serializeAssignedValue in interface org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IValueSerializer
Overrides:
serializeAssignedValue in class org.eclipse.xtext.parsetree.reconstr.impl.ValueSerializer

serializeUnassignedValue

public String serializeUnassignedValue(EObject context,
                                       org.eclipse.xtext.RuleCall ruleCall,
                                       org.eclipse.xtext.nodemodel.INode node)
Specified by:
serializeUnassignedValue in interface org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IValueSerializer
Overrides:
serializeUnassignedValue in class org.eclipse.xtext.parsetree.reconstr.impl.ValueSerializer

isValid

public boolean isValid(EObject context,
                       org.eclipse.xtext.RuleCall ruleCall,
                       Object value,
                       org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IErrorAcceptor errorAcceptor)
Specified by:
isValid in interface org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.IValueSerializer
Overrides:
isValid in class org.eclipse.xtext.parsetree.reconstr.impl.ValueSerializer