Quick API reference

The tables below synthesizes, by pseudocode, the entry point for common read/write 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.

Prowide Core API

Use CaseAPI
Parse a known MT message into a specific message model
new MT103(String/File/InputStream fin)
MT103.parse(String/File/InputStream fin)
Read specific MT message content
MT103 + getters
Parse unknown MT message into generic swift model
AbstractMT.parse(String/File/InputStream fin)
Specialize generic MT message
new MT103(MtSwiftMessage)
MT103.parse(MtSwiftMessage)
(MT103) AbstractMT
Load and persist an unknown MT message
new MtSwiftMessage(String/File/InputStream fin)
MtSwiftMessage.parse(String/File/InputStream fin)
Build a new MT message
new MT103() + append(Field)
Write a new MT message to swift string
MT103 + message() -> fin
Write a new MT message to swift file or stream
MT103 + write(File/OutputStream fin)

Prowide ISO 20022 API

Use CaseAPI
Parse a known MX message into a specific message model
new MxPacs00800109(String/File/InputStream xml)
MxPacs00800109.parse(String xml)
Read specific MX message content
MxPacs00800109 + getters
Parse unknown MX message
AbstractMX.parse(String xml)
Specialize generic MX message
new MxPacs00800109(MxSwiftMessage)
(MxPacs00800109) AbstractMX
Load and persist an unknown MX message
new MxSwiftMessage(String/File/InputStream xml)
MxSwiftMessage.parse(String/File/InputStream xml)
Build a new MX message
new MxPacs00800109() + specific setters
Write a new MX message to swift string
MxPacs00800109 + message() -> xml
Write a new MX message to swift file or stream
MxPacs00800109 + write(File/OutputStream xml)