Mylyn WikiText

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

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.EntityReplacementTokenProcessor
All Implemented Interfaces:
Cloneable, Matcher

public class EntityReplacementTokenProcessor
extends PatternBasedElementProcessor

A token processor that emits a specified XML entity reference.

Since:
1.0
Author:
David Green
See Also:
DocumentBuilder.entityReference(String)

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
EntityReplacementTokenProcessor(String entity)
           
 
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

EntityReplacementTokenProcessor

public EntityReplacementTokenProcessor(String entity)
Parameters:
entity - the entity to emit
Method Detail

emit

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

Specified by:
emit in class PatternBasedElementProcessor

Mylyn WikiText

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