public interface IConversionService
Modifier and Type | Method and Description |
---|---|
String |
getFIN(String xml)
Gets a String containing the FIN message from the XML representation
passed as a String argument.
|
String |
getFIN(SwiftMessage msg)
Gets a String containing the FIN message from the msg object
argument, using FIN writer.
|
SwiftMessage |
getMessageFromFIN(String fin)
Gets a message object containing the message data
from the FIN string message passed as argument.
|
SwiftMessage |
getMessageFromXML(String xml)
Gets a message object containing the message data
from the XML representation passed as a String argument.
|
String |
getXml(String fin)
Gets a String containing the XML internal representation of the message
from the FIN string message passed as argument.
|
String |
getXml(SwiftMessage msg)
Gets a String containing the XML internal representation of the message
from the msg object argument.
|
String getFIN(SwiftMessage msg)
msg
- an object containing the message to convertIllegalArgumentException
- if msg is null
String getFIN(String xml)
xml
- the string with the internal XML message to readIllegalArgumentException
- if XML is null
String getXml(SwiftMessage msg)
msg
- an object containing the message to convertIllegalArgumentException
- if msg is null
String getXml(String fin)
fin
- a string containing the FIN message to convertIllegalArgumentException
- if fin is null
SwiftMessage getMessageFromFIN(String fin)
fin
- a string containing the FIN message to convertIllegalArgumentException
- if fin is null
SwiftMessage getMessageFromXML(String xml)
xml
- the string with the internal XML message to readIllegalArgumentException
- if XML is null