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