/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/support/lint/AbstractReportXmlFormatter.java
private LintReport<T> lintReport; private Document doc;
private Document doc; private LintReport<T> lintReport;
import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; import org.w3c.dom.Document; import ro.isdc.wro.WroRuntimeException; import ro.isdc.wro.extensions.processor.support.linter.LinterError; public abstract class AbstractReportXmlFormatter<T> { <extra_id_0> protected AbstractReportXmlFormatter(final LintReport<T> lintReport) { notNull(lintReport); this.lintReport = lintReport; initDocument(); } private void initDocument() {