public class ReportXmlFormatter extends AbstractReportXmlFormatter<LintItem>
LinterError's.| Modifier and Type | Class and Description |
|---|---|
static class |
ReportXmlFormatter.FormatterType |
| Modifier | Constructor and Description |
|---|---|
protected |
ReportXmlFormatter(LintReport<LintItem> lintReport,
ReportXmlFormatter.FormatterType type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildDocument()
Populates document with required DOM elements.
|
static ReportXmlFormatter |
create(LintReport<LintItem> lintReport,
ReportXmlFormatter.FormatterType formatterType)
Factory method for creating
ReportXmlFormatter. |
static ReportXmlFormatter |
createForCssLintError(LintReport<CssLintError> lintReport,
ReportXmlFormatter.FormatterType formatterType) |
static ReportXmlFormatter |
createForLinterError(LintReport<LinterError> lintReport,
ReportXmlFormatter.FormatterType formatterType) |
protected String |
getColumnAttributeName() |
protected String |
getIssueElementName() |
protected String |
getReasonAttributeName() |
getDocument, getLintReport, writeprotected ReportXmlFormatter(LintReport<LintItem> lintReport, ReportXmlFormatter.FormatterType type)
lintReport - a not null collection of LinterError used to build an XML report from.public static ReportXmlFormatter create(LintReport<LintItem> lintReport, ReportXmlFormatter.FormatterType formatterType)
ReportXmlFormatter.lintReport - LintReport to build xml reports from.public static ReportXmlFormatter createForLinterError(LintReport<LinterError> lintReport, ReportXmlFormatter.FormatterType formatterType)
public static ReportXmlFormatter createForCssLintError(LintReport<CssLintError> lintReport, ReportXmlFormatter.FormatterType formatterType)
protected void buildDocument()
buildDocument in class AbstractReportXmlFormatter<LintItem>protected String getColumnAttributeName()
protected String getReasonAttributeName()
protected String getIssueElementName()
Copyright © 2008-2013. All Rights Reserved.