Package org.camunda.spin.spi
Interface DataFormatWriter
-
- All Known Implementing Classes:
DomXmlDataFormatWriter,JacksonJsonDataFormatWriter
public interface DataFormatWriter- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteToWriter(java.io.Writer writer, java.lang.Object input)Writes the internal representation, as provided byinputto the suppliedwriteraccording to the data format that the implementation belongs to.
-
-
-
Method Detail
-
writeToWriter
void writeToWriter(java.io.Writer writer, java.lang.Object input)Writes the internal representation, as provided byinputto the suppliedwriteraccording to the data format that the implementation belongs to. For example, an XML data format writer writes XML.- Parameters:
writer- The writer to write the output toinput- The object to write. Can be safely cast to the internal format of the data format.
-
-