public class ConditionalReplacer extends AbstractTextReplacer implements ICompositeTextReplacer
GET_REGION
Constructor and Description |
---|
ConditionalReplacer(FormattableDocument document,
int offset,
int length,
java.util.List<ISubFormatter> subFormatters) |
Modifier and Type | Method and Description |
---|---|
void |
addReplacer(ITextReplacer replacer) |
ITextReplacerContext |
createReplacements(ITextReplacerContext context) |
java.lang.String |
toString() |
getDocument, getRegion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRegion
public ConditionalReplacer(FormattableDocument document, int offset, int length, java.util.List<ISubFormatter> subFormatters)
public ITextReplacerContext createReplacements(ITextReplacerContext context)
createReplacements
in interface ITextReplacer
public void addReplacer(ITextReplacer replacer)
addReplacer
in interface ICompositeTextReplacer
public java.lang.String toString()
toString
in class java.lang.Object