public class JSLintXmlFormatter extends XmlFormatter implements JSLintResultFormatter
JSLintResult
into an XML representation.
<file name="bad.js"> <issue line="0" char="0" reason="Insufficient Llamas" evidence="var sheep;"/> </file> <file name="good.js"/>
Constructor and Description |
---|
JSLintXmlFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(JSLintResult result)
Convert
JSLintResult into a suitably formatted String representation. |
protected String |
root()
The name of the root element.
|
attr, escape, footer, header
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
footer, header
public String format(JSLintResult result)
JSLintResultFormatter
JSLintResult
into a suitably formatted String representation.format
in interface JSLintResultFormatter
protected String root()
XmlFormatter
root
in class XmlFormatter
Copyright © 2007-2013. All Rights Reserved.