|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.prowidesoftware.swift.io.writer.SwiftWriter
public class SwiftWriter
This class handles writing swift messages exclusively, all validation and consistency checks must be done previous to using the writer.
Constructor Summary | |
---|---|
SwiftWriter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwiftWriter()
Method Detail |
---|
public void writeMessage(SwiftMessage msg, java.io.Writer writer)
msg
- the message to writewriter
- the writer that will actually receive all the write operations
java.lang.IllegalArgumentException
- if msg or writer are null
public java.lang.String getInternalXml(SwiftMessage msg)
msg
- the message to write
java.lang.IllegalArgumentException
- if msg is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |