public class SwiftWriter
extends java.lang.Object
Constructor and Description |
---|
SwiftWriter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInternalXml(SwiftMessage msg)
Get a string with the internal xml representation of a message.
|
void |
writeMessage(SwiftMessage msg,
java.io.Writer writer)
Write the given message to writer.
|
public java.lang.String getInternalXml(SwiftMessage msg)
msg
- the message to writejava.lang.IllegalArgumentException
- if msg is null
public void writeMessage(SwiftMessage msg, java.io.Writer writer)
msg
- the message to writewriter
- the writer that will actually receive all the write operationsjava.lang.IllegalArgumentException
- if msg or writer are null