com.google.javascript.jscomp
Class AbstractMessageFormatter

java.lang.Object
  extended by com.google.javascript.jscomp.AbstractMessageFormatter
All Implemented Interfaces:
MessageFormatter
Direct Known Subclasses:
LightweightMessageFormatter

public abstract class AbstractMessageFormatter
extends Object
implements MessageFormatter

Abstract message formatter providing default behavior for implementations of MessageFormatter needing a SourceExcerptProvider.


Constructor Summary
AbstractMessageFormatter(SourceExcerptProvider source)
           
 
Method Summary
protected  SourceExcerptProvider getSource()
          Get the source excerpt provider.
 void setColorize(boolean colorize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.javascript.jscomp.MessageFormatter
formatError, formatWarning
 

Constructor Detail

AbstractMessageFormatter

public AbstractMessageFormatter(SourceExcerptProvider source)
Method Detail

setColorize

public void setColorize(boolean colorize)

getSource

protected final SourceExcerptProvider getSource()
Get the source excerpt provider.