public interface ElementWriter<T>
Modifier and Type | Method and Description |
---|---|
void |
write(T element,
OutputNameStyle outputNameStyle,
ElementOutputter outputter)
Writes a non-indexable output (an output that isn't part of a collection of other similar
items).
|
void |
writeWithIndex(T element,
String index,
IndexableOutputNameStyle outputNameStyle,
ElementOutputter outputter)
Writes an indexable output (many outputs of the same type, uniquely identified by an index).
|
void write(T element, OutputNameStyle outputNameStyle, ElementOutputter outputter) throws OutputWriteFailedException
element
- the element to write.outputNameStyle
- TODOoutputter
- OutputWriteFailedException
void writeWithIndex(T element, String index, IndexableOutputNameStyle outputNameStyle, ElementOutputter outputter) throws OutputWriteFailedException
element
- the element to write.index
- TODOoutputNameStyle
- outputter
- OutputWriteFailedException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.