- java.lang.Object
-
- io.fixprotocol.md.event.DocumentWriter
-
- All Implemented Interfaces:
AutoCloseable
public class DocumentWriter extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description DocumentWriter(Writer writer)DocumentWriter(Writer writer, NumberFormat numberFormat, String trueValue, String falseValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwrite(Context context)voidwrite(Detail t)voidwrite(DetailTable detailTable)voidwrite(DetailTable detailTable, AssociativeSet headings)voidwrite(DetailTable detailTable, List<? extends TableColumn> tableColumns)voidwrite(Documentation documentation)voidwrite(Iterable<? extends Context> contextSupplier)
-
-
-
Constructor Detail
-
DocumentWriter
public DocumentWriter(Writer writer)
-
DocumentWriter
public DocumentWriter(Writer writer, NumberFormat numberFormat, String trueValue, String falseValue)
-
-
Method Detail
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
write
public void write(Context context) throws IOException
- Throws:
IOException
-
write
public void write(Detail t) throws IOException
- Throws:
IOException
-
write
public void write(DetailTable detailTable) throws IOException
- Throws:
IOException
-
write
public void write(DetailTable detailTable, AssociativeSet headings) throws IOException
- Throws:
IOException
-
write
public void write(DetailTable detailTable, List<? extends TableColumn> tableColumns) throws IOException
- Throws:
IOException
-
write
public void write(Documentation documentation) throws IOException
- Throws:
IOException
-
write
public void write(Iterable<? extends Context> contextSupplier) throws IOException
- Throws:
IOException
-
-