Class FINWriterVisitor

  • All Implemented Interfaces:
    IMessageVisitor

    public class FINWriterVisitor
    extends java.lang.Object
    implements IMessageVisitor
    Main class for writing SwiftMessage objects into SWIFT FIN message text.

    The implementation preserves the EOLS as they are found in the message object. This is particularly important for block 4 where fields can have multiple lines. To serialize into a compliant FIN text you can apply SwiftWriter.ensureEols(String) to the result.