net_alchim31_maven_yuicompressor
Class ErrorReporter4Mojo

java.lang.Object
  extended by net_alchim31_maven_yuicompressor.ErrorReporter4Mojo
All Implemented Interfaces:
org.mozilla.javascript.ErrorReporter

public class ErrorReporter4Mojo
extends Object
implements org.mozilla.javascript.ErrorReporter


Constructor Summary
ErrorReporter4Mojo(org.apache.maven.plugin.logging.Log log, boolean jswarn)
           
 
Method Summary
 void error(String message, String sourceName, int line, String lineSource, int lineOffset)
           
 int getErrorCnt()
           
 int getWarningCnt()
           
 org.mozilla.javascript.EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset)
           
 void setDefaultFileName(String v)
           
 void warning(String message, String sourceName, int line, String lineSource, int lineOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReporter4Mojo

public ErrorReporter4Mojo(org.apache.maven.plugin.logging.Log log,
                          boolean jswarn)
Method Detail

setDefaultFileName

public void setDefaultFileName(String v)

getErrorCnt

public int getErrorCnt()

getWarningCnt

public int getWarningCnt()

error

public void error(String message,
                  String sourceName,
                  int line,
                  String lineSource,
                  int lineOffset)
Specified by:
error in interface org.mozilla.javascript.ErrorReporter

runtimeError

public org.mozilla.javascript.EvaluatorException runtimeError(String message,
                                                              String sourceName,
                                                              int line,
                                                              String lineSource,
                                                              int lineOffset)
Specified by:
runtimeError in interface org.mozilla.javascript.ErrorReporter

warning

public void warning(String message,
                    String sourceName,
                    int line,
                    String lineSource,
                    int lineOffset)
Specified by:
warning in interface org.mozilla.javascript.ErrorReporter


Copyright © 2010-2012 Alchim31. All Rights Reserved.