org.eclipse.mylyn.wikitext.core.parser.markup.token
Class LiteralReplacementTokenProcessor

java.lang.Object
  extended by org.eclipse.mylyn.wikitext.core.parser.markup.Processor
      extended by org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElementProcessor
          extended by org.eclipse.mylyn.wikitext.core.parser.markup.token.LiteralReplacementTokenProcessor
All Implemented Interfaces:
Cloneable, Matcher

public class LiteralReplacementTokenProcessor
extends PatternBasedElementProcessor

A processor that emits a literal unescaped. Useful for emitting markup that is not directly supported by the builder.

Since:
1.0
Author:
David Green

Field Summary
 
Fields inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElementProcessor
groupByIndex, lineEndOffset, lineStartOffset
 
Fields inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Processor
builder, markupLanguage, parser, state
 
Constructor Summary
LiteralReplacementTokenProcessor(String literal)
           
 
Method Summary
 void emit()
          Emit the content of the element
 
Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElementProcessor
end, getLineEndOffset, getLineStartOffset, group, setGroup, setLineEndOffset, setLineStartOffset, start
 
Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Processor
clone, getBuilder, getMarkupLanguage, getParser, getState, setParser, setState
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralReplacementTokenProcessor

public LiteralReplacementTokenProcessor(String literal)
Method Detail

emit

public void emit()
Description copied from class: PatternBasedElementProcessor
Emit the content of the element

Specified by:
emit in class PatternBasedElementProcessor


Copyright © 2011 FuseSource, Corp.. All Rights Reserved.