com.googlecode.jslint4java.formatter
Class JSLintXmlFormatter
java.lang.Object
com.googlecode.jslint4java.formatter.XmlFormatter
com.googlecode.jslint4java.formatter.JSLintXmlFormatter
- All Implemented Interfaces:
- JSLintResultFormatter
public class JSLintXmlFormatter
- extends XmlFormatter
- implements JSLintResultFormatter
Convert a single 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"/>
- Author:
- dom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSLintXmlFormatter
public JSLintXmlFormatter()
format
public String format(JSLintResult result)
- Description copied from interface:
JSLintResultFormatter
- Convert
JSLintResult
into a suitably formatted String representation.
- Specified by:
format
in interface JSLintResultFormatter
root
protected String root()
- Description copied from class:
XmlFormatter
- The name of the root element.
- Specified by:
root
in class XmlFormatter
Copyright © 2007-2012. All Rights Reserved.