|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jslint4java.formatter.XmlFormatter
com.googlecode.jslint4java.formatter.ReportFormatter
public class ReportFormatter
Emit an HTML fragment containing JSLint's report on the input.
| Constructor Summary | |
|---|---|
ReportFormatter()
|
|
| Method Summary | |
|---|---|
String |
footer()
Return the footer for a result formatter. |
String |
format(JSLintResult result)
Convert JSLintResult into a suitably formatted String representation. |
String |
header()
Return the header for a result formatter. |
protected String |
root()
The name of the root element. |
| Methods inherited from class com.googlecode.jslint4java.formatter.XmlFormatter |
|---|
attr, escape |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportFormatter()
| Method Detail |
|---|
public String footer()
JSLintResultFormatter
footer in interface JSLintResultFormatterfooter in class XmlFormatterpublic String format(JSLintResult result)
JSLintResultFormatterJSLintResult into a suitably formatted String representation.
format in interface JSLintResultFormatterpublic String header()
JSLintResultFormatter
header in interface JSLintResultFormatterheader in class XmlFormatterprotected String root()
XmlFormatter
root in class XmlFormatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||