org.eclipse.xtend.core.conversion
Class AbstractCommentRichTextValueConverter

java.lang.Object
  extended by org.eclipse.xtext.conversion.impl.AbstractValueConverter<T>
      extended by org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter<java.lang.String>
          extended by org.eclipse.xtend.core.conversion.AbstractRichTextValueConverter
              extended by org.eclipse.xtend.core.conversion.AbstractCommentRichTextValueConverter
All Implemented Interfaces:
IValueConverter<java.lang.String>, IValueConverter.RuleSpecific
Direct Known Subclasses:
CommentRichTextEndValueConverter, CommentRichTextInBetweenValueConverter

public abstract class AbstractCommentRichTextValueConverter
extends AbstractRichTextValueConverter

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.conversion.IValueConverter
IValueConverter.RuleSpecific
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.conversion.IValueConverter
NO_OP_CONVERTER
 
Constructor Summary
AbstractCommentRichTextValueConverter()
           
 
Method Summary
protected  java.lang.String getLeadingTerminal()
           
protected  java.lang.String getWithoutLeadingTerminal(java.lang.String string)
           
protected  java.lang.String toEscapedString(java.lang.String value)
           
 
Methods inherited from class org.eclipse.xtend.core.conversion.AbstractRichTextValueConverter
addIfAbsent, assertValidValue, getTrailingSubsequences, getTrailingTerminal, toValue
 
Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter
assertTokens, createTokenContentMismatchException, createTokenTypeMismatchException, getLexer, getLexerProvider, getRule, getRuleName, getRuleName, getTokenDefMap, getTokenDefProvider, getTokenSource, setLexerProvider, setRule, setTokenDefProvider, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCommentRichTextValueConverter

public AbstractCommentRichTextValueConverter()
Method Detail

getLeadingTerminal

protected java.lang.String getLeadingTerminal()
Specified by:
getLeadingTerminal in class AbstractRichTextValueConverter

toEscapedString

protected java.lang.String toEscapedString(java.lang.String value)
Overrides:
toEscapedString in class AbstractRichTextValueConverter

getWithoutLeadingTerminal

protected java.lang.String getWithoutLeadingTerminal(java.lang.String string)
Overrides:
getWithoutLeadingTerminal in class AbstractRichTextValueConverter