back Quick API reference

The tables below synthesizes, by pseudocode, the entry point for common use case scenarios

The use case is usually determined by whether you are creating a new SWIFT message or reading an existing SWIFT message. And in the case of reading, different API exists depending on whether you are processing messages generically, or if you are reading specific known type.

MT Use CaseProwide Core API
parse a known message into a specific message model new MT103(String/File/InputStream fin)
MT103.parse(String/File/InputStream fin)
read specific message content MT103 + getters
parse unknown message into generic swift model AbstractMT.parse(String/File/InputStream fin)
specialize generic message new MT103(MtSwiftMessage)
MT103.parse(MtSwiftMessage)
(MT103) AbstractMT
load and persist an unknown message new MtSwiftMessage(String/File/InputStream fin)
MtSwiftMessage.parse(String/File/InputStream fin)
build a new message new MT103() + append(Field)
write a new message to swift string MT103 + message() -> fin
write a new message to swift file or stream MT103 + write(File/OutputStream fin)
top
MX Use CaseProwide Integrator API
parse a known message into a specific message model new MxSecl00100101(String/File/InputStream xml)
MxSecl00100101.parse(String xml)
read specific message content MxSecl00100101 + getters
parse unknown message into generic swift model new MxParser(String/File/InputStream xml)
specialize generic message new MxSecl00100101(MxSwiftMessage)
(MxSecl00100101) AbstractMX
load and persist an unknown message new MxSwiftMessage(String/File/InputStream xml)
MxSwiftMessag.parse(String/File/InputStream xml)
build a new message new MT103() + append(Field)
new MxSecl00100101() + specific setters
write a new message to swift string MxSecl00100101 + message() -> xml
write a new message to swift file or stream MxSecl00100101 + write(File/OutputStream xml)
top