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 © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html