public abstract class AbstractReportXmlFormatter<T> extends Object
LinterError's.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractReportXmlFormatter(LintReport<T> lintReport) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
buildDocument()
Populates document with required DOM elements.
|
protected Document |
getDocument() |
protected LintReport<T> |
getLintReport() |
void |
write(OutputStream outputStream) |
protected AbstractReportXmlFormatter(LintReport<T> lintReport)
lintReport - a not null collection of LinterError used to build an XML report from.public final void write(OutputStream outputStream)
outputStream - the OutputStream where the xml representation of the report is written.protected abstract void buildDocument()
protected final LintReport<T> getLintReport()
LintReport used to build the xml lint report from.Copyright © 2008-2013. All Rights Reserved.