Class XmlReportWriter
- java.lang.Object
-
- org.infinispan.logging.processor.report.XmlReportWriter
-
- All Implemented Interfaces:
AutoCloseable
public class XmlReportWriter extends Object implements AutoCloseable
XmlReportWriter.- Since:
- 13.0
- Author:
- Durgesh Anaokar
-
-
Constructor Summary
Constructors Constructor Description XmlReportWriter(BufferedWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwriteDetail(Element element)voidwriteFooter()voidwriteHeader(String title)
-
-
-
Constructor Detail
-
XmlReportWriter
public XmlReportWriter(BufferedWriter writer) throws XMLStreamException
- Throws:
XMLStreamException
-
-
Method Detail
-
writeHeader
public void writeHeader(String title) throws XMLStreamException
- Throws:
XMLStreamException
-
writeDetail
public void writeDetail(Element element) throws XMLStreamException
- Throws:
XMLStreamException
-
writeFooter
public void writeFooter() throws XMLStreamException- Throws:
XMLStreamException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
-