org.eclipse.mylyn.wikitext.core.parser.markup.phrase
Class LiteralPhraseModifierProcessor
java.lang.Object
org.eclipse.mylyn.wikitext.core.parser.markup.Processor
org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElementProcessor
org.eclipse.mylyn.wikitext.core.parser.markup.phrase.LiteralPhraseModifierProcessor
- All Implemented Interfaces:
- Cloneable, Matcher
public class LiteralPhraseModifierProcessor
- extends PatternBasedElementProcessor
A processor that emits the first group as characters, optionally unescaped.
- Since:
- 1.0
- Author:
- David Green
- See Also:
DocumentBuilder.characters(String)
,
DocumentBuilder.charactersUnescaped(String)
Method Summary |
void |
emit()
Emit the content of the element |
LiteralPhraseModifierProcessor
public LiteralPhraseModifierProcessor(boolean escaping)
- Construct this with a group of 1.
- Parameters:
escaping
- indicate if the processor should escape characters
LiteralPhraseModifierProcessor
public LiteralPhraseModifierProcessor(boolean escaping,
int group)
- Parameters:
escaping
- indicate if the processor should escape charactersgroup
- the group
of characters to emit
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.